diff options
author | Matias Elo <matias.elo@nokia.com> | 2022-11-02 10:35:21 +0200 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2022-11-09 08:54:58 +0200 |
commit | ae4a8845b31e1d0aaa57f4d39a6878f9f0e9c894 (patch) | |
tree | 64c2167e3b1b9ad21e3d7912f64581d372268c66 /.github | |
parent | a12050cb271b17d2484864fb2dbd5829d5f9d5cd (diff) |
github_ci: add static build tests to arm64 ci pipeline
Add missing static build tests to arm64 GitHub CI pipeline.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci-pipeline-arm64.yml | 24 | ||||
-rw-r--r-- | .github/workflows/ci-pipeline.yml | 4 |
2 files changed, 24 insertions, 4 deletions
diff --git a/.github/workflows/ci-pipeline-arm64.yml b/.github/workflows/ci-pipeline-arm64.yml index 0603ac325..046e6e83c 100644 --- a/.github/workflows/ci-pipeline-arm64.yml +++ b/.github/workflows/ci-pipeline-arm64.yml @@ -35,6 +35,26 @@ jobs: if: ${{ failure() }} run: find . -name config.log -exec cat {} \; + Build_static_u22: + if: ${{ github.repository == 'OpenDataPlane/odp' }} + runs-on: [self-hosted, ARM64] + env: + OS: ubuntu_22.04 + CONF: "--disable-shared --without-openssl --without-pcap" + strategy: + fail-fast: false + matrix: + cc_ver: [10, 11, 12] + conf: ['', '--enable-lto'] + steps: + - uses: AutoModality/action-clean@v1.1.0 + - 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="${CONF} ${{matrix.conf}}" $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH}-native /odp/scripts/ci/build_static.sh + - name: Failure log + if: ${{ failure() }} + run: find . -name config.log -exec cat {} \; + Build_OS: if: ${{ github.repository == 'OpenDataPlane/odp' }} runs-on: [self-hosted, ARM64] @@ -52,7 +72,7 @@ jobs: if: ${{ failure() }} run: find . -name config.log -exec cat {} \; - Build_gcc: + Build_gcc_u22: if: ${{ github.repository == 'OpenDataPlane/odp' }} runs-on: [self-hosted, ARM64] env: @@ -61,7 +81,7 @@ jobs: fail-fast: false matrix: cc_ver: [10, 11, 12] - conf: ['', '--enable-lto'] + conf: ['', '--enable-abi-compat'] steps: - uses: AutoModality/action-clean@v1.1.0 - uses: actions/checkout@v3 diff --git a/.github/workflows/ci-pipeline.yml b/.github/workflows/ci-pipeline.yml index 859b42960..8b6a762a9 100644 --- a/.github/workflows/ci-pipeline.yml +++ b/.github/workflows/ci-pipeline.yml @@ -94,7 +94,7 @@ jobs: 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_static_${ARCH}.sh + -e CONF="${{matrix.conf}}" $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH} /odp/scripts/ci/build_static.sh - name: Failure log if: ${{ failure() }} run: find . -name config.log -exec cat {} \; @@ -112,7 +112,7 @@ jobs: 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="${CONF} ${{matrix.conf}}" $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH} /odp/scripts/ci/build_static_${ARCH}.sh + -e CONF="${CONF} ${{matrix.conf}}" $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH} /odp/scripts/ci/build_static.sh - name: Failure log if: ${{ failure() }} run: find . -name config.log -exec cat {} \; |