Skip to content

Commit 3abac30

Browse files
committed
Fix Julia install
1 parent 3543589 commit 3abac30

File tree

1 file changed

+13
-28
lines changed

1 file changed

+13
-28
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,20 @@ jobs:
2323
- run: pip install -r requirements.txt
2424
- name: Checks
2525
uses: pre-commit/[email protected]
26-
27-
gcc:
26+
27+
build:
2828
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 }}
2937
env:
30-
CXX: g++-12
31-
CC: gcc-12
38+
CC: ${{ matrix.cc }}
39+
CXX: ${{ matrix.cxx }}
3240
steps:
3341
- uses: actions/checkout@v4
3442
- name: CMake
@@ -41,30 +49,7 @@ jobs:
4149
- name: Test-Matrix
4250
run: ctest --test-dir ./build/test/bash
4351
- 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
6853
- name: Install-Finch
6954
run: julia -e 'using Pkg; Pkg.add("Finch")'
7055
- name: Test-Tensor

0 commit comments

Comments
 (0)