@@ -14,10 +14,10 @@ jobs:
14
14
strategy :
15
15
fail-fast : false
16
16
matrix :
17
- # os: ["ubuntu-latest", "macos-latest", "windows-latest"]
18
- os : ["ubuntu-latest "]
19
- # python-version : [3.7, 3.8, 3.9 ]
20
- python -version : [3.8 ]
17
+ os : ["ubuntu-latest", "macos-latest", "windows-latest"]
18
+ python-version : ["3.7", "3.8", "3.9", "3.10 "]
19
+ source : ["source" ]
20
+ graphblas -version : ["6.0.0" ]
21
21
steps :
22
22
- name : Checkout
23
23
uses : actions/checkout@v2
@@ -29,18 +29,23 @@ jobs:
29
29
environment-file : continuous_integration/environment.yml
30
30
channels : conda-forge
31
31
activate-environment : suitesparse-graphblas
32
- - name : Build
32
+ - name : GraphBLAS (from conda-forge)
33
+ if : (contains(matrix.source, 'conda-forge'))
34
+ run : |
35
+ conda install -c conda-forge graphblas=${{ matrix.graphblas-version }}
36
+ - name : GraphBLAS (from source)
37
+ if : (contains(matrix.source, 'source'))
33
38
run : |
34
- # sh suitesparse.sh refs/tags/6.0.0
35
- curl -L https://github.com/DrTimothyAldenDavis/GraphBLAS/archive/refs/tags/v6.0.0 .tar.gz | tar xzf -
36
- pushd GraphBLAS-6.0.0 /build
39
+ # sh suitesparse.sh refs/tags/${{ matrix.graphblas-version }}
40
+ curl -L https://github.com/DrTimothyAldenDavis/GraphBLAS/archive/refs/tags/v${{ matrix.graphblas-version }} .tar.gz | tar xzf -
41
+ pushd GraphBLAS-${{ matrix.graphblas-version }} /build
37
42
echo ${CONDA_PREFIX}
38
-
39
43
cmake -DCMAKE_INSTALL_PREFIX=${CONDA_PREFIX} -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_BUILD_TYPE=Release ..
40
44
make JOBS=16
41
45
make install
42
46
popd
43
-
47
+ - name : Build
48
+ run : |
44
49
python setup.py build_ext --inplace
45
50
python setup.py develop
46
51
- name : Test
0 commit comments