Skip to content

Commit

Permalink
Update sifdecoder.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison committed Aug 16, 2024
1 parent 8f47fa9 commit fb59979
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/sifdecoder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ jobs:
cd $GITHUB_WORKSPACE/../
if [[ "${{ matrix.problems }}" == "sifcollection" ]]; then
# https://bitbucket.org/optrove/sif/downloads/?tab=branches
wget https://bitbucket.org/optrove/sif/get/229e00b81891789fe29f099d1844565ef0ac14d3.tar.gz
tar -xvzf 229e00b81891789fe29f099d1844565ef0ac14d3.tar.gz
mv optrove-sif-229e00b81891 sif
wget https://bitbucket.org/optrove/sif/get/ae54a71a045fbe3749e5d4355c025d8f30e30ab8.tar.gz
tar -xvzf ae54a71a045fbe3749e5d4355c025d8f30e30ab8.tar.gz
mv optrove-sif-ae54a71a045f sif
fi
if [[ "${{ matrix.problems }}" == "maros-meszaros" ]]; then
# https://bitbucket.org/optrove/maros-meszaros/downloads/?tab=branches
Expand Down Expand Up @@ -78,16 +78,20 @@ jobs:
echo "Processing $file"
rm -f *.f *.o *.d
if [[ "${{ matrix.precision }}" == "single" ]]; then
./sifdecoder_standalone -sp "$file"
gfortran -shared -fPIC *.f
if [ "$file" != "AKIVA.SIF" ]; then
./sifdecoder_standalone -sp "$file"
gfortran -fPIC *.f
fi
fi
if [[ "${{ matrix.precision }}" == "double" ]]; then
./sifdecoder_standalone -dp "$file"
gfortran -shared -fPIC *.f
gfortran -fPIC *.f
fi
if [[ "${{ matrix.precision }}" == "quadruple" ]]; then
./sifdecoder_standalone -qp "$file"
gfortran -shared -fPIC *.f
if [ "$file" != "AKIVA.SIF" ]; then
./sifdecoder_standalone -qp "$file"
gfortran -fPIC *.f
fi
fi
fi
done

0 comments on commit fb59979

Please sign in to comment.