diff options
author | Matias Elo <matias.elo@nokia.com> | 2023-05-26 15:52:22 +0300 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2023-05-30 08:09:55 +0300 |
commit | c93b36003c15b1ea5502f4bd5cdb9887321240c3 (patch) | |
tree | e22ccdacbad5eb668be40e9f93b29e89997b744b | |
parent | 6e7c9d956cc56a6a354fdd592b9472c1f2703977 (diff) |
github_ci: add gcc-13 build tests
Add native gcc-13 build tests for x86 and arm64.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
-rw-r--r-- | .github/workflows/ci-pipeline-arm64.yml | 19 | ||||
-rw-r--r-- | .github/workflows/ci-pipeline.yml | 17 |
2 files changed, 36 insertions, 0 deletions
diff --git a/.github/workflows/ci-pipeline-arm64.yml b/.github/workflows/ci-pipeline-arm64.yml index 9c3599d4a..ca166e8a5 100644 --- a/.github/workflows/ci-pipeline-arm64.yml +++ b/.github/workflows/ci-pipeline-arm64.yml @@ -91,6 +91,25 @@ jobs: if: ${{ failure() }} run: find . -name config.log -exec cat {} \; + Build_gcc_u23: + if: ${{ github.repository == 'OpenDataPlane/odp' }} + runs-on: [self-hosted, ARM64] + env: + OS: ubuntu_23.04 + strategy: + fail-fast: false + matrix: + cc_ver: [13] + conf: ['', '--enable-abi-compat'] + steps: + - uses: OpenDataPlane/action-clean-up@main + - uses: actions/checkout@v3 + - run: sudo docker run -i -v `pwd`:/odp --privileged --shm-size 8g -e CC="gcc-${{matrix.cc_ver}}" -e CXX="g++-${{matrix.cc_ver}}" + -e CONF="${{matrix.conf}}" $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH}-native /odp/scripts/ci/build_${ARCH}.sh + - name: Failure log + if: ${{ failure() }} + run: find . -name config.log -exec cat {} \; + Build_out-of-tree: if: ${{ github.repository == 'OpenDataPlane/odp' }} runs-on: [self-hosted, ARM64] diff --git a/.github/workflows/ci-pipeline.yml b/.github/workflows/ci-pipeline.yml index f57f2d2e5..60d028584 100644 --- a/.github/workflows/ci-pipeline.yml +++ b/.github/workflows/ci-pipeline.yml @@ -273,6 +273,23 @@ jobs: if: ${{ failure() }} run: find . -name config.log -exec cat {} \; + Build_gcc_u23: + runs-on: ubuntu-20.04 + env: + OS: ubuntu_23.04 + strategy: + fail-fast: false + matrix: + cc_ver: [13] + conf: ['', '--enable-abi-compat'] + steps: + - uses: actions/checkout@v3 + - run: sudo docker run -i -v `pwd`:/odp --privileged --shm-size 8g -e CC="gcc-${{matrix.cc_ver}}" -e CXX="g++-${{matrix.cc_ver}}" + -e CONF="${{matrix.conf}}" $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH} /odp/scripts/ci/build_${ARCH}.sh + - name: Failure log + if: ${{ failure() }} + run: find . -name config.log -exec cat {} \; + Build_out-of-tree: runs-on: ubuntu-20.04 steps: |