diff options
author | Jere Leppänen <jere.leppanen@nokia.com> | 2022-08-26 19:39:10 +0300 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2022-09-23 09:52:00 +0300 |
commit | 28bbed7ab01c871f17437dccaedb2864915a5109 (patch) | |
tree | d6e146804a596cbb47e0c4aa781ba69adc3c310c /.github | |
parent | 16cb162cf9b037f5daefa28f2b16f3882a315429 (diff) |
ci: fix g++ version in arm64 builds
When a non-default version of gcc is used, use the same version of
g++, so that LTO can be used also with statically linked c++ programs.
Signed-off-by: Jere Leppänen <jere.leppanen@nokia.com>
Reviewed-by: Matias Elo <matias.elo@nokia.com>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci-pipeline-arm64.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/ci-pipeline-arm64.yml b/.github/workflows/ci-pipeline-arm64.yml index 23b1280c3..79d3b8833 100644 --- a/.github/workflows/ci-pipeline-arm64.yml +++ b/.github/workflows/ci-pipeline-arm64.yml @@ -60,12 +60,12 @@ jobs: strategy: fail-fast: false matrix: - cc: [gcc-10, gcc-11, gcc-12] + cc_ver: [10, 11, 12] conf: ['', '--enable-lto'] steps: - uses: AutoModality/action-clean@v1.1.0 - uses: actions/checkout@v2 - - run: sudo docker run -i -v `pwd`:/odp --privileged --shm-size 8g -e CC="${CC}" -e CXX=g++-10 + - 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() }} |