Skip to content

Commit 102bd15

Browse files
Merge pull request #159 from GraphBLAS/ci-v7.4
Include SuiteSparse:GraphBLAS v7.4.1 in CI tests
2 parents 0c84c41 + 15190da commit 102bd15

File tree

1 file changed

+22
-10
lines changed

1 file changed

+22
-10
lines changed

.github/workflows/build.yml

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@ on: [push, pull_request]
44

55
jobs:
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
1516
uses: actions/[email protected]
@@ -20,8 +21,13 @@ jobs:
2021
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: |
@@ -33,7 +39,7 @@ jobs:
3339
make test_coverage
3440
- name: Deploy
3541
uses: JamesIves/[email protected]
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'
3743
with:
3844
branch: gh-pages
3945
folder: build/test_coverage/
@@ -48,8 +54,9 @@ jobs:
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
5562
uses: actions/[email protected]
@@ -61,8 +68,13 @@ jobs:
6168
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

Comments
 (0)