Skip to content

Commit

Permalink
Update CI configuration to use newer OS/compiler versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
poletti-marco committed Feb 1, 2025
1 parent a023f59 commit d607daa
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 8 deletions.
48 changes: 40 additions & 8 deletions .github/workflows/test-on-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ on:
# Run at 8:13 on the 1st day of each month
- cron: '13 8 1 * *'
jobs:
Ubuntu-22-10:
Ubuntu-24-10:
runs-on: ubuntu-latest
container: polettimarco/fruit-basesystem:ubuntu-22.10
container: polettimarco/fruit-basesystem:ubuntu-24.10
env:
N_JOBS: 2
ASAN_OPTIONS: ""
Expand All @@ -34,9 +34,9 @@ jobs:
fail-fast: false
matrix:
config:
- {compiler: clang-15.0, stlarg: -stdlib=libstdc++, test: ReleasePlain}
- {compiler: clang-15.0, stlarg: -stdlib=libstdc++, test: DebugPlain}
- {compiler: clang-15.0, stlarg: -stdlib=libstdc++, test: DebugAsanUbsan}
- {compiler: clang-19.0, stlarg: -stdlib=libstdc++, test: ReleasePlain}
- {compiler: clang-19.0, stlarg: -stdlib=libstdc++, test: DebugPlain}
- {compiler: clang-19.0, stlarg: -stdlib=libstdc++, test: DebugAsanUbsan}
- {compiler: gcc-12, test: ReleasePlain}
- {compiler: gcc-12, test: DebugPlain}
- {compiler: gcc-12, test: DebugAsanUbsan}
Expand All @@ -47,6 +47,38 @@ jobs:
- {compiler: gcc-9, test: ReleasePlain}
- {compiler: gcc-9, test: DebugAsanUbsan}

Ubuntu-24-04:
runs-on: ubuntu-latest
container: polettimarco/fruit-basesystem:ubuntu-24.04
env:
N_JOBS: 2
ASAN_OPTIONS: ""
OS: "linux"
COMPILER: ${{ matrix.config.compiler }}
STLARG: ${{ matrix.config.stlarg }}
steps:
- uses: actions/checkout@v3
- name: test
run: extras/scripts/postsubmit-helper.sh ${{ matrix.config.test }}
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled && failure() }}
strategy:
fail-fast: false
matrix:
config:
- {compiler: clang-19.0, stlarg: -stdlib=libstdc++, test: ReleasePlain}
- {compiler: clang-19.0, stlarg: -stdlib=libstdc++, test: DebugPlain}
- {compiler: clang-19.0, stlarg: -stdlib=libstdc++, test: DebugAsanUbsan}
- {compiler: gcc-12, test: ReleasePlain}
- {compiler: gcc-12, test: DebugAsanUbsan}
- {compiler: clang-11.0, stlarg: -stdlib=libstdc++, test: ReleasePlain}
- {compiler: clang-11.0, stlarg: -stdlib=libstdc++, test: DebugPlain}
# clang-11 has issues in the DebugAsanUbsan configuration
- {compiler: clang-13.0, stlarg: -stdlib=libstdc++, test: DebugAsanUbsan}
- {compiler: gcc-9, test: ReleasePlain}
- {compiler: gcc-9, test: DebugAsanUbsan}

Ubuntu-22-04:
runs-on: ubuntu-latest
container: polettimarco/fruit-basesystem:ubuntu-22.04
Expand All @@ -67,9 +99,9 @@ jobs:
fail-fast: false
matrix:
config:
- {compiler: clang-15.0, stlarg: -stdlib=libstdc++, test: ReleasePlain}
- {compiler: clang-15.0, stlarg: -stdlib=libstdc++, test: DebugPlain}
- {compiler: clang-15.0, stlarg: -stdlib=libstdc++, test: DebugAsanUbsan}
- {compiler: clang-19.0, stlarg: -stdlib=libstdc++, test: ReleasePlain}
- {compiler: clang-19.0, stlarg: -stdlib=libstdc++, test: DebugPlain}
- {compiler: clang-19.0, stlarg: -stdlib=libstdc++, test: DebugAsanUbsan}
- {compiler: gcc-12, test: ReleasePlain}
- {compiler: gcc-12, test: DebugAsanUbsan}
- {compiler: clang-11.0, stlarg: -stdlib=libstdc++, test: ReleasePlain}
Expand Down
5 changes: 5 additions & 0 deletions extras/scripts/postsubmit-helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,11 @@ clang-18.0)
export CXX=clang++-18
;;

clang-19.0)
export CC=clang-19
export CXX=clang++-19
;;

clang-default)
export CC=clang
export CXX=clang++
Expand Down

0 comments on commit d607daa

Please sign in to comment.