File tree Expand file tree Collapse file tree 1 file changed +7
-24
lines changed
Expand file tree Collapse file tree 1 file changed +7
-24
lines changed Original file line number Diff line number Diff line change 99jobs :
1010 build :
1111 name : Compile and test on Linux
12- runs-on : ${{ matrix.os }}
12+ runs-on : ubuntu-latest
13+ container :
14+ image : wichtounet/cpp:latest
1315 strategy :
1416 matrix :
15- os : [ubuntu-24.04]
16- compiler : [g++-14,clang++-18]
17+ compiler : [gcc, clang]
1718
1819 steps :
1920 - name : Checkout code
2021 uses : actions/checkout@v3
2122 with :
2223 submodules : recursive
23-
24- - name : Install dependencies
25- run : sudo apt install nasm libboost-all-dev
26-
27- - name : Install GCC compiler
28- run : sudo apt install g++-14
29-
30- - name : install LLVM compiler
31- run : |
32- wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
33- sudo apt-add-repository "deb http://apt.llvm.org/noble/ llvm-toolchain-noble-18 main"
34- sudo apt update
35- sudo apt install clang-18
36-
3724 - name : Build binaries
38- env :
39- CXX : ${{ matrix.compiler }}
40- run : make -j5 ./release_debug/bin/eddic
25+ run : make -j5 ./release_debug/bin/eddic compiler=${{ matrix.compiler }}
4126
4227 - name : Build tests
43- env :
44- CXX : ${{ matrix.compiler }}
45- run : make -j5 ./release_debug/bin/test
28+ run : make -j5 ./release_debug/bin/test compiler=${{ matrix.compiler }}
4629
4730 - name : Run tests
48- run : ./release_debug/bin/test
31+ run : ./release_debug/bin/test compiler=${{ matrix.compiler }}
You can’t perform that action at this time.
0 commit comments