77 - " **.F90"
88 - " **.cmake"
99 - " **.txt"
10- - " **.build"
1110 - " .github/workflows/ci_linux.yml"
1211 pull_request :
13- release :
1412
1513jobs :
1614
17- linuxCMake :
15+ linux :
1816 runs-on : ubuntu-latest
1917 steps :
2018 - uses : actions/checkout@v2
2119 - uses : actions/setup-python@v1
2220 with :
2321 python-version : ' 3.x'
2422
25- - name : install prereqs
26- run : |
27- pip install cmake
28- sudo apt update -yq
29- sudo apt install -yq --no-install-recommends gfortran g++
30-
31- - run : cmake -B build
32- env :
33- FC : gfortran
34- CC : gcc
35- CXX : g++
36- - run : cmake --build build --parallel
37- - uses : actions/upload-artifact@v1
38- if : failure()
39- with :
40- name : Linux_Cmake_Buildlog
41- path : build/CMakeFiles/CMakeError.log
42-
43- - run : ctest -V
44- working-directory : build
45- - uses : actions/upload-artifact@v1
46- if : failure()
47- with :
48- name : Linux_CMake_Testlog
49- path : build/Testing/Temporary/LastTest.log
50-
51- linuxMeson :
52- runs-on : ubuntu-latest
53- steps :
54- - uses : actions/checkout@v2
55- - uses : actions/setup-python@v1
56- with :
57- python-version : ' 3.x'
58-
59- - run : pip install meson
60-
61- - name : Install packages
62- run : |
63- sudo apt update -yq
64- sudo apt install -yq --no-install-recommends ninja-build gfortran g++
65-
66- - run : meson setup build
23+ - run : ctest -S setup.cmake -VV
6724 env :
68- FC : gfortran
69- - run : ninja -C build
70- - uses : actions/upload-artifact@v1
71- if : failure()
72- with :
73- name : Linux_Meson_Configlog
74- path : build/meson-logs/meson-log.txt
75-
76- - run : meson test -C build -v
77- - uses : actions/upload-artifact@v1
78- if : failure()
79- with :
80- name : Linux_Meson_Testlog
81- path : build/meson-logs/testlog.txt
25+ FC : gfortran-9
26+ CC : gcc-9
27+ CXX : g++-9
0 commit comments