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 f74acdd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/Spack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,9 @@ jobs:
fi
# 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'$'
if [[ "${{ matrix.variants }}" =~ "+shared" ]]; then suffix="so" ; else suffix="a"; fi
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 f74acdd

Please sign in to comment.