Skip to content
This repository was archived by the owner on Jul 28, 2024. It is now read-only.

Commit 43e8346

Browse files
committed
ci: added gcc12 and clang16 testing
1 parent 2b38ccd commit 43e8346

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/builds-and-tests.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,20 @@ jobs:
88
fail-fast: false
99
matrix:
1010
os: [windows-latest, ubuntu-latest, macos-latest]
11-
toolchain: [msvc, gcc, clang]
11+
toolchain: [msvc, gcc, clang, clang12, gcc12]
1212
exclude:
1313
- os: ubuntu-latest
1414
toolchain: msvc
1515
- os: ubuntu-latest # TODO: Remove this one once the clang with libc++ is fixed
16-
toolchain: clang
16+
toolchain: clang clang12
1717
- os: macos-latest
1818
toolchain: msvc
1919
- os: macos-latest # TODO: Remove this one once the clang of the system is fixed
2020
toolchain: gcc
2121
- os: macos-latest # TODO: Remove this one once the clang on macos is fixed
2222
toolchain: clang
2323
- os: windows-latest
24-
toolchain: gcc
24+
toolchain: gcc gcc12
2525

2626
name: Build & Run Tests
2727
runs-on: ${{ matrix.os }}
@@ -52,23 +52,23 @@ jobs:
5252
- run: echo "🍏 This job's status is ${{ job.status }}."
5353

5454
- name: Install recent LLVM and Clang
55-
if: matrix.toolchain == 'clang'
55+
if: startsWith('clang', matrix.toolchain)
5656
uses: KyleMayes/install-llvm-action@v1
5757
with:
5858
version: "16"
5959

6060
- name: Install recent GCC
61-
if: matrix.toolchain == 'gcc'
61+
if: startsWith('gcc', matrix.toolchain)
6262
uses: egor-tensin/setup-gcc@v1
6363
with:
6464
version: "12"
6565
platform: x64
6666

6767
- name: Info about clang
68-
if: matrix.toolchain == 'clang'
68+
if: startswith('clang', matrix.toolchain)
6969
run: clang++ --version
7070
- name: Info about gcc
71-
if: matrix.toolchain == 'gcc'
71+
if: startsWith('gcc', matrix.toolchain)
7272
run: g++ --version
7373
# We omit trying to find `cl` from msvc because it's annoying, and the info is already in steps below.
7474
- name: Info about toolchain
@@ -78,7 +78,7 @@ jobs:
7878
if: runner.os == 'Linux'
7979
shell: bash
8080
run: sudo apt-get update && sudo apt-get install -y libx11-dev libxrandr-dev libudev-dev libglu1-mesa-dev freeglut3-dev mesa-common-dev xorg-dev libvulkan-dev
81-
81+
8282
- name: Create all build configurations
8383
shell: bash
8484
run: ./init-configs.sh ${{ matrix.toolchain }}

0 commit comments

Comments
 (0)