Skip to content

Commit ea05dcb

Browse files
[cicd] compiler versions update
1 parent d650687 commit ea05dcb

File tree

1 file changed

+20
-3
lines changed

1 file changed

+20
-3
lines changed

.github/workflows/pipeline.yml

+20-3
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,34 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
include:
17-
- { os: "ubuntu-latest", compiler: "clang++", generator: "Unix Makefiles" }
18-
- { os: "ubuntu-latest", compiler: "g++", generator: "Unix Makefiles" }
17+
- { os: "ubuntu-latest", compiler: "clang++-14", generator: "Unix Makefiles", package: "clang-14" }
18+
- { os: "ubuntu-latest", compiler: "clang++-15", generator: "Unix Makefiles", package: "clang-15" }
19+
- { os: "ubuntu-latest", compiler: "g++-11", generator: "Unix Makefiles", package: "gcc-11" }
20+
- { os: "ubuntu-latest", compiler: "g++-12", generator: "Unix Makefiles", package: "gcc-12" }
1921
- { os: "windows-latest", compiler: "cl", generator: "Ninja", config: "Debug" }
2022
- { os: "windows-latest", compiler: "cl", generator: "Ninja", config: "Release" }
2123
name: "${{ matrix.os }} / ${{ matrix.compiler }} / ${{ matrix.generator }} / ${{ matrix.config }}"
2224
runs-on: "${{ matrix.os }}"
2325
steps:
2426
- name: "Checkout"
2527
uses: actions/checkout@v3
26-
- name: "Tool: MSVC"
28+
- name: "Tool: Microsoft Windows"
2729
uses: ilammy/msvc-dev-cmd@v1
30+
- name: "Tool: Ubuntu"
31+
if: ${{ matrix.package == 'gcc-11' ||
32+
matrix.package == 'gcc-12' ||
33+
matrix.package == 'clang-14' ||
34+
matrix.package == 'clang-15' }}
35+
run: |
36+
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
37+
sudo apt-get update
38+
sudo apt install "${{ matrix.package }}"
39+
- name: "Tool: Clang 16"
40+
if: ${{ matrix.package == 'clang-16' }}
41+
run: |
42+
wget https://apt.llvm.org/llvm.sh
43+
chmod +x llvm.sh
44+
sudo ./llvm.sh 16 all
2845
- name: "Configure"
2946
env:
3047
CXX: "${{ matrix.compiler }}"

0 commit comments

Comments
 (0)