diff options
-rw-r--r-- | .github/workflows/ci-pipeline-arm64.yml | 24 | ||||
-rw-r--r-- | .github/workflows/ci-pipeline.yml | 4 | ||||
-rwxr-xr-x | scripts/ci/build_static.sh (renamed from scripts/ci/build_static_x86_64.sh) | 0 |
3 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 {} \; diff --git a/scripts/ci/build_static_x86_64.sh b/scripts/ci/build_static.sh index 24d8a2d6a..24d8a2d6a 100755 --- a/scripts/ci/build_static_x86_64.sh +++ b/scripts/ci/build_static.sh |