@@ -4,12 +4,13 @@ on: [push, pull_request]
44
55jobs :
66 linux :
7- runs-on : ubuntu-20 .04
7+ runs-on : ubuntu-22 .04
88 strategy :
99 matrix :
1010 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}
1314 steps :
1415 - name : Checkout
15162021 run : |
2122 mkdir graphblas-binaries
2223 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
2531 cd ..
2632 - name : Build project
2733 run : |
3339 make test_coverage
3440 - name : Deploy
354136- 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'
3743 with :
3844 branch : gh-pages
3945 folder : build/test_coverage/
4854 strategy :
4955 matrix :
5056 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}
5360 steps :
5461 - name : Checkout
55626168 run : |
6269 mkdir graphblas-binaries
6370 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
6678 cd ..
6779 - name : Build project
6880 run : |
0 commit comments