@@ -4,12 +4,13 @@ on: [push, pull_request]
4
4
5
5
jobs :
6
6
linux :
7
- runs-on : ubuntu-20 .04
7
+ runs-on : ubuntu-22 .04
8
8
strategy :
9
9
matrix :
10
10
config :
11
- - {grb_version: 7.1.0, conda_grb_package_hash: h27087fc}
12
- - {grb_version: 7.3.0, conda_grb_package_hash: h27087fc}
11
+ - {grb_version: 7.1.0, conda_grb_package_hash: h27087fc, conda_extension: tar.bz2}
12
+ - {grb_version: 7.3.0, conda_grb_package_hash: h27087fc, conda_extension: tar.bz2}
13
+ - {grb_version: 7.4.1, conda_grb_package_hash: hcb278e6, conda_extension: conda}
13
14
steps :
14
15
- name : Checkout
15
16
20
21
run : |
21
22
mkdir graphblas-binaries
22
23
cd graphblas-binaries
23
- wget --quiet https://anaconda.org/conda-forge/graphblas/${{ matrix.config.grb_version }}/download/linux-64/graphblas-${{ matrix.config.grb_version }}-${{ matrix.config.conda_grb_package_hash }}_0.tar.bz2
24
- tar xf graphblas-${{ matrix.config.grb_version }}-${{ matrix.config.conda_grb_package_hash }}_0.tar.bz2
24
+ wget --quiet https://anaconda.org/conda-forge/graphblas/${{ matrix.config.grb_version }}/download/linux-64/graphblas-${{ matrix.config.grb_version }}-${{ matrix.config.conda_grb_package_hash }}_0.${{ matrix.config.conda_extension }}
25
+ if [ ${{ matrix.config.conda_extension }} == "tar.bz2" ]; then
26
+ tar xf graphblas-${{ matrix.config.grb_version }}-${{ matrix.config.conda_grb_package_hash }}_0.${{ matrix.config.conda_extension }}
27
+ else
28
+ unzip graphblas-${{ matrix.config.grb_version }}-${{ matrix.config.conda_grb_package_hash }}_0.${{ matrix.config.conda_extension }}
29
+ tar xf pkg-graphblas-${{ matrix.config.grb_version }}-${{ matrix.config.conda_grb_package_hash }}_0.tar.zst
30
+ fi
25
31
cd ..
26
32
- name : Build project
27
33
run : |
33
39
make test_coverage
34
40
- name : Deploy
35
41
36
- if : matrix.config.grb_version == '7.1.0 ' && github.event_name == 'push' && github.ref == 'refs/heads/stable'
42
+ if : matrix.config.grb_version == '7.4.1 ' && github.event_name == 'push' && github.ref == 'refs/heads/stable'
37
43
with :
38
44
branch : gh-pages
39
45
folder : build/test_coverage/
48
54
strategy :
49
55
matrix :
50
56
config :
51
- - {grb_version: 7.1.0, conda_grb_package_hash: h7881ed4}
52
- - {grb_version: 7.3.0, conda_grb_package_hash: ha894c9a}
57
+ - {grb_version: 7.1.0, conda_grb_package_hash: h7881ed4, conda_extension: tar.bz2}
58
+ - {grb_version: 7.3.0, conda_grb_package_hash: ha894c9a, conda_extension: tar.bz2}
59
+ - {grb_version: 7.4.1, conda_grb_package_hash: ha894c9a, conda_extension: conda}
53
60
steps :
54
61
- name : Checkout
55
62
61
68
run : |
62
69
mkdir graphblas-binaries
63
70
cd graphblas-binaries
64
- wget --quiet https://anaconda.org/conda-forge/graphblas/${{ matrix.config.grb_version }}/download/osx-64/graphblas-${{ matrix.config.grb_version }}-${{ matrix.config.conda_grb_package_hash }}_0.tar.bz2
65
- tar xf graphblas-${{ matrix.config.grb_version }}-${{ matrix.config.conda_grb_package_hash }}_0.tar.bz2
71
+ wget --quiet https://anaconda.org/conda-forge/graphblas/${{ matrix.config.grb_version }}/download/osx-64/graphblas-${{ matrix.config.grb_version }}-${{ matrix.config.conda_grb_package_hash }}_0.${{ matrix.config.conda_extension }}
72
+ if [ ${{ matrix.config.conda_extension }} == "tar.bz2" ]; then
73
+ tar xf graphblas-${{ matrix.config.grb_version }}-${{ matrix.config.conda_grb_package_hash }}_0.${{ matrix.config.conda_extension }}
74
+ else
75
+ unzip graphblas-${{ matrix.config.grb_version }}-${{ matrix.config.conda_grb_package_hash }}_0.${{ matrix.config.conda_extension }}
76
+ tar xf pkg-graphblas-${{ matrix.config.grb_version }}-${{ matrix.config.conda_grb_package_hash }}_0.tar.zst
77
+ fi
66
78
cd ..
67
79
- name : Build project
68
80
run : |
0 commit comments