File tree Expand file tree Collapse file tree 3 files changed +19
-14
lines changed
Expand file tree Collapse file tree 3 files changed +19
-14
lines changed Original file line number Diff line number Diff line change @@ -5,15 +5,15 @@ name: Linux Build
55
66on :
77 push :
8- # branches: [ "main" ]
8+ # branches: ["main"]
99 paths :
1010 - " include/**"
1111 - " src/**"
1212 - " test/**"
1313 - " CMakeLists.txt"
1414 - " .github/workflows/linux.yml"
1515 pull_request :
16- branches : [ "main" ]
16+ branches : ["main"]
1717 paths :
1818 - " include/**"
1919 - " src/**"
@@ -35,13 +35,13 @@ jobs:
3535 steps :
3636 - uses : actions/checkout@v4
3737
38- - name : Install static analyzers
38+ - name : Install build tools
3939 run : >-
40- sudo apt-get install clang-tidy-19 ninja-build -y -q
40+ sudo apt-get install ninja-build -y -q
4141
42- sudo update-alternatives --install
43- /usr/bin/clang-tidy clang-tidy
44- /usr/bin/clang-tidy- 19 140
42+ wget https://apt.llvm.org/llvm.sh
43+ chmod +x llvm.sh
44+ sudo sudo ./llvm.sh 19 # all
4545
4646 - name : Linux ${{ matrix.compiler }} ${{ matrix.sanitizer }}
4747 run : CXX=${{ matrix.compiler }} make ${{ matrix.sanitizer }}
Original file line number Diff line number Diff line change @@ -5,15 +5,15 @@ name: Macos Build
55
66on :
77 push :
8- # branches: [ "main" ]
8+ # branches: ["main"]
99 paths :
1010 - " include/**"
1111 - " src/**"
1212 - " test/**"
1313 - " CMakeLists.txt"
1414 - " .github/workflows/macos.yml"
1515 pull_request :
16- branches : [ "main" ]
16+ branches : ["main"]
1717 paths :
1818 - " include/**"
1919 - " src/**"
@@ -39,14 +39,19 @@ jobs:
3939 # if: startsWith(matrix.compiler, 'clang')
4040 uses : aminya/setup-cpp@v1
4141 with :
42- compiler : llvm-19
42+ # TODO: compiler: llvm-19
4343 # clangtidy: true
4444 # cmake: true
4545 ninja : true
4646
47- - name : macos clang++ -19 ${{ matrix.sanitizer }}
47+ - name : Install llvm -19
4848 if : startsWith(matrix.compiler, 'clang')
49- run : CXX=$(brew --prefix llvm@19)/bin/clang++ make ${{ matrix.sanitizer }}
49+ run : >-
50+ brew install llvm-19 | echo ignored
51+
52+ - name : macos clang++-18 ${{ matrix.sanitizer }}
53+ if : startsWith(matrix.compiler, 'clang')
54+ run : CXX=$(brew --prefix llvm@18)/bin/clang++ make ${{ matrix.sanitizer }}
5055
5156 - name : macos g++ ${{ matrix.sanitizer }}
5257 if : startsWith(matrix.compiler, 'g++')
Original file line number Diff line number Diff line change @@ -5,15 +5,15 @@ name: Windows Build
55
66on :
77 push :
8- # branches: [ "main" ]
8+ # branches: ["main"]
99 paths :
1010 - " include/**"
1111 - " src/**"
1212 - " test/**"
1313 - " CMakeLists.txt"
1414 - " .github/workflows/windows.yml"
1515 pull_request :
16- branches : [ "main" ]
16+ branches : ["main"]
1717 paths :
1818 - " include/**"
1919 - " src/**"
You can’t perform that action at this time.
0 commit comments