3636 matrix :
3737 # For available CPU architectures, see:
3838 # https://github.com/marketplace/actions/setup-alpine-linux-environment
39- arch : [x86, armv7, ppc64le, s390x, riscv64, loongarch64]
39+ arch : [x86, armv7, loongarch64]
4040 include :
4141 - arch : x86
4242 ccache-max : 64M
4646 ccache-max : 60M
4747 extra-build-libs : " :GraphBLAS:LAGraph"
4848 extra-check-libs : " :GraphBLAS:LAGraph"
49- - arch : ppc64le
50- ccache-max : 28M
51- - arch : s390x
52- ccache-max : 28M
53- - arch : riscv64
54- ccache-max : 28M
5549 - arch : loongarch64
5650 ccache-max : 30M
5751
8882 autoconf
8983 automake
9084 libtool
91- # ${{ matrix.arch != 'riscv64' && 'valgrind' || '' }}
85+ sudo
9286
9387 - name : disable QEMU emulation
9488 if : matrix.arch == 'armv7'
@@ -129,6 +123,7 @@ jobs:
129123 # echo "/usr/lib/ccache" >> $GITHUB_PATH
130124
131125 - name : build
126+ id : build
132127 run : |
133128 echo "gcc --version"
134129 gcc --version
@@ -150,6 +145,7 @@ jobs:
150145 -DBLA_VENDOR="Generic" \
151146 -DGRAPHBLAS_COMPACT=ON \
152147 -DSUITESPARSE_DEMOS=OFF \
148+ -DSUITESPARSE_USE_FORTRAN=ON \
153149 -DBUILD_TESTING=OFF \
154150 ..
155151 echo "::endgroup::"
@@ -171,12 +167,14 @@ jobs:
171167 done
172168
173169 - name : ccache status
170+ if : always() && (steps.build.outcome != 'skipped')
174171 continue-on-error : true
175172 run : ccache -s
176173
177174 - name : save ccache
178- # Save the cache after we are done (successfully) building
175+ # Save the cache after we are done building
179176 # This helps to retain the ccache even if the subsequent steps are failing.
177+ if : always() && (steps.build.outcome != 'skipped')
180178 uses : actions/cache/save@v4
181179 with :
182180 path : /home/runner/rootfs/alpine-latest-${{ matrix.arch }}/home/runner/.ccache
0 commit comments