File tree Expand file tree Collapse file tree 1 file changed +13
-28
lines changed Expand file tree Collapse file tree 1 file changed +13
-28
lines changed Original file line number Diff line number Diff line change @@ -23,12 +23,20 @@ jobs:
23
23
- run : pip install -r requirements.txt
24
24
- name : Checks
25
25
uses :
pre-commit/[email protected]
26
-
27
- gcc :
26
+
27
+ build :
28
28
runs-on : ' ubuntu-latest'
29
+ strategy :
30
+ matrix :
31
+ include :
32
+ - cc : gcc-12
33
+ cxx : g++-12
34
+ - cc : clang
35
+ cxx : clang++
36
+ name : ${{ matrix.cc }}
29
37
env :
30
- CXX : g++-12
31
- CC : gcc-12
38
+ CC : ${{ matrix.cc }}
39
+ CXX : ${{ matrix.cxx }}
32
40
steps :
33
41
- uses : actions/checkout@v4
34
42
- name : CMake
41
49
- name : Test-Matrix
42
50
run : ctest --test-dir ./build/test/bash
43
51
- name : Install-Julia
44
- run : curl -fsSL https://install.julialang.org | sh
45
- - name : Install-Finch
46
- run : julia -e 'using Pkg; Pkg.add("Finch")'
47
- - name : Test-Tensor
48
- run : ctest --test-dir ./build/test/julia
49
-
50
- clang :
51
- runs-on : ' ubuntu-latest'
52
- env :
53
- CXX : clang++
54
- CC : clang
55
- steps :
56
- - uses : actions/checkout@v4
57
- - name : CMake
58
- run : |
59
- sudo apt-get update
60
- sudo apt-get install libhdf5-dev clang
61
- cmake -B build
62
- - name : Build
63
- run : VERBOSE=true make -C build -j `nproc`
64
- - name : Test-Matrix
65
- run : ctest --test-dir ./build/test/bash
66
- - name : Install-Julia
67
- run : curl -fsSL https://install.julialang.org | sh
52
+ run : curl -fsSL https://install.julialang.org | sh -s -- -y
68
53
- name : Install-Finch
69
54
run : julia -e 'using Pkg; Pkg.add("Finch")'
70
55
- name : Test-Tensor
You can’t perform that action at this time.
0 commit comments