3838 # See https://github.com/fortran-lang/setup-fortran?tab=readme-ov-file#runner-compatibility
3939 # for the toolchains provided by fortran-lang/setup-fortran. We test the latest three on each OS.
4040 # First define the toolchains on Linux and macOS.
41- os : [ubuntu-latest , ubuntu-24.04 , macos-12 , macos-13 ]
41+ os : [ubuntu-22.04 , ubuntu-latest , macos-13 , macos-latest ]
4242 toolchain :
4343 - {compiler: gcc, version: 11, cflags: '-Wall -Wextra -Wpedantic -Werror', fflags: '-Wall -Wextra -Wpedantic -Werror -fimplicit-none -fcheck=all -fstack-check -Wno-function-elimination'}
4444 - {compiler: gcc, version: 12, cflags: '-Wall -Wextra -Wpedantic -Werror', fflags: '-Wall -Wextra -Wpedantic -Werror -fimplicit-none -fcheck=all -fstack-check -Wno-function-elimination'}
@@ -52,19 +52,19 @@ jobs:
5252 # intel compiler (ifx) does not support macOS. So they are not included above but below.
5353 # Zaikun 20240423
5454 # On ubuntu-latest, we want to use '-Wall -w3 -Werror-all' as what we do for the intel-classic
55- # compiler, but the (new) intel c compiler does not recognize '-W3 -Werror-all', even though the
55+ # compiler, but the (new) intel c compiler does not recognize '-w3 -Werror-all', even though the
5656 # official documentation of the compiler mentions them. Why?
57- - os : ubuntu-latest
57+ - os : ubuntu-22.04
5858 toolchain : {compiler: intel, version: '2023.2', cflags: '-Wall -Werror', fflags: '-warn all -debug extended -fimplicit-none -standard-semantics'}
59- - os : ubuntu-latest
59+ - os : ubuntu-22.04
6060 toolchain : {compiler: intel, version: '2024.0', cflags: '-Wall -Werror', fflags: '-warn all -debug extended -fimplicit-none -standard-semantics'}
61- - os : ubuntu-latest
61+ - os : ubuntu-22.04
6262 toolchain : {compiler: intel, version: '2024.1', cflags: '-Wall -Werror', fflags: '-warn all -debug extended -fimplicit-none -standard-semantics'}
63- - os : ubuntu-24.04
63+ - os : ubuntu-latest
6464 toolchain : {compiler: intel, version: '2023.2', cflags: '-Wall -Werror', fflags: '-warn all -debug extended -fimplicit-none -standard-semantics'}
65- - os : ubuntu-24.04
65+ - os : ubuntu-latest
6666 toolchain : {compiler: intel, version: '2024.0', cflags: '-Wall -Werror', fflags: '-warn all -debug extended -fimplicit-none -standard-semantics'}
67- - os : ubuntu-24.04
67+ - os : ubuntu-latest
6868 toolchain : {compiler: intel, version: '2024.1', cflags: '-Wall -Werror', fflags: '-warn all -debug extended -fimplicit-none -standard-semantics'}
6969
7070 # What follows contains the toolchains for Windows, including gcc, intel classic, and intel.
0 commit comments