Skip to content

Commit 2b95928

Browse files
committed
Adding GCC15 to CI
1 parent d2e02f9 commit 2b95928

File tree

1 file changed

+35
-1
lines changed

1 file changed

+35
-1
lines changed

.github/workflows/test.yml

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ jobs:
2525
- { os: ubuntu-latest, compiler: gcc, version: 12 }
2626
- { os: ubuntu-latest, compiler: gcc, version: 13 }
2727
- { os: ubuntu-24.04, compiler: gcc, version: 14, module: true }
28-
#- { os: ubuntu-24.04, compiler: gcc, version: 15, module: true }
2928

3029
- { os: ubuntu-22.04, compiler: clang, version: 13 }
3130
- { os: ubuntu-22.04, compiler: clang ,version: 14 }
@@ -88,3 +87,38 @@ jobs:
8887
run: |
8988
cmake --build build --config Release --target run-test
9089
90+
container:
91+
runs-on: ubuntu-latest
92+
container: ${{ matrix.container }}
93+
strategy:
94+
fail-fast: false
95+
matrix:
96+
include:
97+
- {container: gcc:15.1, module: true}
98+
99+
steps:
100+
- name: Checkout
101+
uses: actions/checkout@v4
102+
103+
- name: Setup Python
104+
uses: actions/setup-python@v5
105+
with:
106+
python-version: "3.12"
107+
108+
- name: System Setup
109+
run: |
110+
apt-get update
111+
apt-get install -y ninja-build cmake
112+
if [[ '${{ matrix.module}}' == 'true' ]]; then
113+
echo "CMAKE_ARGS=-DISPTR_ENABLE_MODULE=ON" >> $GITHUB_ENV
114+
fi
115+
116+
- name: Configure
117+
shell: bash
118+
run: |
119+
cmake $CMAKE_GENERATOR -S . -B build $CMAKE_ARGS -DISPTR_ENABLE_PYTHON=ON -DCMAKE_BUILD_TYPE=Release
120+
121+
- name: Build and Test
122+
shell: bash
123+
run: |
124+
cmake --build build --config Release --target run-test

0 commit comments

Comments
 (0)