File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -126,6 +126,16 @@ install_gcc_choco()
126126 mv /c/Strawberry/c/bin/g++ " $RUNNER_TEMP /strawberry/g++"
127127 echo " C:\ProgramData\mingw64\mingw64\bin" >> $GITHUB_PATH
128128 ;;
129+ 14)
130+ choco install mingw --version 14.2.0 --force
131+ # mingw 13+ on Windows doesn't create shims (http://disq.us/p/2w5c5tj)
132+ # so hide Strawberry compilers and manually add mingw bin dir to PATH
133+ mkdir " $RUNNER_TEMP /strawberry"
134+ mv /c/Strawberry/c/bin/gfortran " $RUNNER_TEMP /strawberry/gfortran"
135+ mv /c/Strawberry/c/bin/gcc " $RUNNER_TEMP /strawberry/gcc"
136+ mv /c/Strawberry/c/bin/g++ " $RUNNER_TEMP /strawberry/g++"
137+ echo " C:\ProgramData\mingw64\mingw64\bin" >> $GITHUB_PATH
138+ ;;
129139 13)
130140 choco install mingw --version 13.2.0 --force
131141 # mingw 13+ on Windows doesn't create shims (http://disq.us/p/2w5c5tj)
@@ -152,7 +162,7 @@ install_gcc_choco()
152162 choco install mingw --version 8.5.0 --force
153163 ;;
154164 * )
155- echo " Unsupported version: $version (choose 8-13, 15, or latest)"
165+ echo " Unsupported version: $version (choose 8-15, or latest)"
156166 exit 1
157167 ;;
158168 esac
You can’t perform that action at this time.
0 commit comments