Skip to content

Commit

Permalink
fix spack ci
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderRichert-NOAA committed Oct 25, 2023
1 parent 45885e9 commit 5bf3ec9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/Spack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ jobs:
# Run 'spack load' and check that key build options were respected
spack load sp
if [ "${{ matrix.variants }}" =~ "+shared" ]; then suffix="so" ; else suffix="a"; fi
ls ${SP_LIB${precision}} | grep -cE "/libsp_${precision}\."$suffix'$'
libvar=SP_LIB${precision}
ls ${!libvar} | grep -cE "/libsp_${precision}\."$suffix'$'
- name: Upload test results
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 5bf3ec9

Please sign in to comment.