-
Notifications
You must be signed in to change notification settings - Fork 4
55 lines (48 loc) · 1.39 KB
/
cmake.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: C++ CI
on:
push:
branches: [ "master" ]
paths-ignore:
- 'README.md'
- 'docs/**'
pull_request:
paths-ignore:
- 'README.md'
- 'docs/**'
env:
BUILD_TYPE: Release
jobs:
build-and-test-gcc:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get update && sudo apt-get install -y cmake ninja-build gcc-14 g++-14
- name: gcc-14-release
run: cmake --workflow --preset="ci-gcc-14-release"
build-and-test-clang:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- name: Add LLVM Repository
run: |
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 18
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y cmake g++-14 ninja-build clang-18 libfmt-dev libc++-18-dev libc++abi-18-dev
- name: clang-18-release
run: cmake --workflow --preset="ci-clang-18-release"
- name: clang-18-libc++-release
run: cmake --workflow --preset="ci-clang-18-libc++-release"
build-and-test-msvc:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: ci-clangcl-release
run: cmake --workflow --preset="ci-clangcl-release"
- name: ci-msvc-release
run: cmake --workflow --preset="ci-msvc-release"