Skip to content

Commit 8031565

Browse files
committed
ci: check build with gcc-15
1 parent 807aa94 commit 8031565

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/ci.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,27 @@ jobs:
171171

172172
- run: cargo build --locked --release --bin cargo-codspeed --target ${{ matrix.target }}
173173

174+
gcc15-build-check:
175+
runs-on: ubuntu-24.04
176+
steps:
177+
- uses: actions/checkout@v4
178+
with:
179+
submodules: true
180+
- uses: moonrepo/setup-rust@v1
181+
env:
182+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
183+
184+
- name: Install GCC 15
185+
run: |
186+
sudo apt-get update
187+
sudo apt-get install -y software-properties-common
188+
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
189+
sudo apt-get update
190+
sudo apt-get install -y gcc-15 g++-15
191+
192+
- name: Build with GCC 15
193+
run: CC=gcc-15 CXX=g++-15 cargo build -p codspeed --locked --release
194+
174195
check:
175196
runs-on: ubuntu-latest
176197
if: always()
@@ -182,6 +203,7 @@ jobs:
182203
- compat-integration-test-instrumentation
183204
- compat-integration-test-walltime
184205
- musl-build-check
206+
- gcc15-build-check
185207
steps:
186208
- uses: re-actors/alls-green@release/v1
187209
with:

0 commit comments

Comments
 (0)