File tree Expand file tree Collapse file tree 1 file changed +21
-7
lines changed Expand file tree Collapse file tree 1 file changed +21
-7
lines changed Original file line number Diff line number Diff line change @@ -26,19 +26,33 @@ jobs:
26
26
27
27
gcc :
28
28
runs-on : ' ubuntu-latest'
29
- strategy :
30
- matrix :
31
- cxx : [gcc, clang]
32
- name : ${{ matrix.cxx }}
33
29
env :
34
- CXX : ${{ matrix.cxx }}
30
+ CXX : g++-12
31
+ CC : gcc-12
35
32
steps :
36
33
- uses : actions/checkout@v4
37
34
- name : CMake
38
35
run : |
39
36
sudo apt-get update
40
- sudo apt-get install libhdf5-dev g++-12
41
- CXX=g++-12 cmake -B build
37
+ sudo apt-get install libhdf5-dev $CXX $CC
38
+ cmake -B build
39
+ - name : Build
40
+ run : VERBOSE=true make -C build -j `nproc`
41
+ - name : Test
42
+ run : ctest --test-dir ./build/test/bash
43
+
44
+ clang :
45
+ runs-on : ' ubuntu-latest'
46
+ env :
47
+ CXX : clang++
48
+ CC : clang
49
+ steps :
50
+ - uses : actions/checkout@v4
51
+ - name : CMake
52
+ run : |
53
+ sudo apt-get update
54
+ sudo apt-get install libhdf5-dev clang
55
+ cmake -B build
42
56
- name : Build
43
57
run : VERBOSE=true make -C build -j `nproc`
44
58
- name : Test
You can’t perform that action at this time.
0 commit comments