Skip to content

Commit 20edcc0

Browse files
committed
Update compilers
1 parent 8761add commit 20edcc0

File tree

2 files changed

+35
-33
lines changed

2 files changed

+35
-33
lines changed

.github/workflows/linux.yml

Lines changed: 5 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -18,43 +18,14 @@ jobs:
1818
compiler:
1919
- g++-9
2020
- g++-10
21-
- clang++-10
22-
- clang++-11
23-
- clang++-12
24-
build_type: [Debug, Release]
25-
26-
runs-on: ubuntu-latest
27-
28-
env:
29-
CXX: ${{ matrix.compiler }}
30-
31-
steps:
32-
- uses: actions/checkout@v3
33-
with:
34-
submodules: recursive
35-
36-
- run: cmake -E make_directory build
37-
38-
- working-directory: build/
39-
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
40-
41-
- working-directory: build/
42-
run: cmake --build .
43-
44-
- working-directory: build/
45-
run: ctest --output-on-failure
46-
47-
linux-new:
48-
strategy:
49-
fail-fast: false
50-
matrix:
51-
compiler:
5221
- g++-11
22+
- g++-12
23+
- clang++-12
5324
- clang++-13
5425
- clang++-14
5526
build_type: [Debug, Release]
5627

57-
runs-on: ubuntu-22.04
28+
runs-on: ubuntu-latest
5829

5930
env:
6031
CXX: ${{ matrix.compiler }}
@@ -85,6 +56,8 @@ jobs:
8556
- clang++-7
8657
- clang++-8
8758
- clang++-9
59+
- clang++-10
60+
- clang++-11
8861
build_type: [Debug, Release]
8962

9063
runs-on: ubuntu-20.04

.github/workflows/macos.yml

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
xcode: ['11', '12', '13']
18+
xcode: ['13', '14']
1919
build_type: [Debug, Release]
2020

2121
runs-on: macos-latest
@@ -39,3 +39,32 @@ jobs:
3939

4040
- working-directory: build/
4141
run: ctest --config ${{ matrix.build_type }} --output-on-failure
42+
43+
xcode-old:
44+
strategy:
45+
fail-fast: false
46+
matrix:
47+
xcode: ['11', '12']
48+
build_type: [Debug, Release]
49+
50+
runs-on: macos-11
51+
52+
steps:
53+
- uses: actions/checkout@v3
54+
with:
55+
submodules: recursive
56+
57+
- uses: maxim-lobanov/setup-xcode@v1
58+
with:
59+
xcode-version: ${{ matrix.xcode }}
60+
61+
- run: cmake -E make_directory build
62+
63+
- working-directory: build/
64+
run: cmake $GITHUB_WORKSPACE
65+
66+
- working-directory: build/
67+
run: cmake --build . --config ${{ matrix.build_type }}
68+
69+
- working-directory: build/
70+
run: ctest --config ${{ matrix.build_type }} --output-on-failure

0 commit comments

Comments
 (0)