Skip to content

Commit c450f53

Browse files
committed
GHA: Add linux with gcc14
1 parent fe9bbd8 commit c450f53

1 file changed

Lines changed: 12 additions & 7 deletions

File tree

.github/workflows/test.yaml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ jobs:
1111
build_config: [ Debug, Release ]
1212
# name: [ linux, macOS, windows ]
1313
include:
14-
# - name: Linux
15-
# os: ubuntu-latest
14+
- name: Linux
15+
os: ubuntu-latest
1616
- name: macOS
1717
os: macos-15
1818
# - name: Windows
@@ -23,13 +23,18 @@ jobs:
2323
with:
2424
submodules: true
2525

26-
- name: Configure
26+
- name: Configure & Build
2727
shell: bash
28-
run: cmake -B build_dir -DCMAKE_BUILD_TYPE=${{ matrix.build_config }}
28+
run: |
29+
if [[ "$OSTYPE" == "linux-gnu" ]]; then
30+
export CC=/usr/bin/gcc-14
31+
export CXX=/usr/bin/g++-14
32+
gcc -v
33+
g++ -v
34+
fi
2935
30-
- name: Build
31-
shell: bash
32-
run: cmake --build build_dir --config ${{ matrix.build_config }}
36+
cmake -B build_dir -DCMAKE_BUILD_TYPE=${{ matrix.build_config }}
37+
cmake --build build_dir --config ${{ matrix.build_config }}
3338
3439
- name: Run Tests
3540
working-directory: build_dir

0 commit comments

Comments
 (0)