99 strategy :
1010 fail-fast : false
1111 matrix :
12- os : [ubuntu-latest, macos-12 , windows-latest]
12+ os : [ubuntu-latest, macos-13 , windows-latest]
1313 gcc : [13]
1414
1515 steps :
@@ -21,17 +21,17 @@ jobs:
2121 run : |
2222 brew install gcc@${{ matrix.gcc }}
2323 ln -s /usr/local/bin/gfortran-${{ matrix.gcc }} /usr/local/bin/gfortran
24- # Backport gfortran shared libraries to version 9 folder. This is necessary because all macOS releases of fpm
25- # have these paths hardcoded in the executable (no PIC?). As the gcc ABIs have not changed from 9 to 10 , we
26- # can just create symbolic links for now. This can be removed when an updated fpm release is built with gcc-10
27- mkdir /usr/local/opt/gcc@9
28- mkdir /usr/local/opt/gcc@9 /lib
29- mkdir /usr/local/opt/gcc@9 /lib/gcc
30- mkdir /usr/local/opt/gcc@9 /lib/gcc/9
31- mkdir /usr/local/lib/gcc/9
32- ln -fs /usr/local/opt/gcc@${{ matrix.gcc }}/lib/gcc/${{ matrix.gcc }}/libquadmath.0.dylib /usr/local/opt/gcc@9 /lib/gcc/9 /libquadmath.0.dylib
33- ln -fs /usr/local/opt/gcc@${{ matrix.gcc }}/lib/gcc/${{ matrix.gcc }}/libgfortran.5.dylib /usr/local/opt/gcc@9 /lib/gcc/9 /libgfortran.5.dylib
34- ln -fs /usr/local/lib/gcc/${{ matrix.gcc }}/libgcc_s.1.dylib /usr/local/lib/gcc/9 /libgcc_s.1.dylib
24+ # Backport gfortran shared libraries to version 10 folder. This is necessary because all macOS releases of fpm
25+ # have these paths hardcoded in the executable (no PIC?). As the gcc ABIs have not changed from 10 to 13 , we
26+ # can just create symbolic links for now. This can be removed when an updated fpm release is built with gcc-13
27+ mkdir /usr/local/opt/gcc@10
28+ mkdir /usr/local/opt/gcc@10 /lib
29+ mkdir /usr/local/opt/gcc@10 /lib/gcc
30+ mkdir /usr/local/opt/gcc@10 /lib/gcc/10
31+ mkdir /usr/local/lib/gcc/10
32+ ln -fs /usr/local/opt/gcc@${{ matrix.gcc }}/lib/gcc/${{ matrix.gcc }}/libquadmath.0.dylib /usr/local/opt/gcc@10 /lib/gcc/10 /libquadmath.0.dylib
33+ ln -fs /usr/local/opt/gcc@${{ matrix.gcc }}/lib/gcc/${{ matrix.gcc }}/libgfortran.5.dylib /usr/local/opt/gcc@10 /lib/gcc/10 /libgfortran.5.dylib
34+ ln -fs /usr/local/lib/gcc/${{ matrix.gcc }}/libgcc_s.1.dylib /usr/local/lib/gcc/10 /libgcc_s.1.dylib
3535
3636 - name : Install GFortran (Linux)
3737 if : ${{ contains(matrix.os, 'ubuntu') }}
0 commit comments