File tree Expand file tree Collapse file tree 2 files changed +37
-5
lines changed Expand file tree Collapse file tree 2 files changed +37
-5
lines changed Original file line number Diff line number Diff line change @@ -25,10 +25,20 @@ jobs:
2525 python-version : ' 3.x'
2626 - run : pip install -r requirements.txt
2727 - run : sudo apt install -yq --no-install-recommends gfortran libhdf5-dev
28+
2829 - run : meson setup build
2930 env :
3031 FC : gfortran
32+
3133 - run : ninja -C build
34+
35+ # this catches configuration and build log
36+ - uses : actions/upload-artifact@v1
37+ if : failure()
38+ with :
39+ name : Linux_Meson_Buildlog
40+ path : build/meson-logs/meson-log.txt
41+
3242 - run : meson test -C build -v
3343 - uses : actions/upload-artifact@v1
3444 if : failure()
4959 env :
5060 FC : gfortran
5161 - run : cmake --build build --parallel
62+
63+ - uses : actions/upload-artifact@v1
64+ if : failure()
65+ with :
66+ name : Linux_CMake_Buildlog
67+ path : build/CMakeFiles/CMakeError.log
68+
5269 - run : ctest -V
5370 working-directory : build
71+ - uses : actions/upload-artifact@v1
72+ if : failure()
73+ with :
74+ name : Linux_CMake_Testlog
75+ path : build/Testing/Temporary/LastTest.log
Original file line number Diff line number Diff line change @@ -36,13 +36,10 @@ jobs:
3636 env :
3737 FC : gfortran-9
3838 CC : gcc-9
39- - uses : actions/upload-artifact@v1
40- if : failure()
41- with :
42- name : Mac_Meson_Configlog
43- path : build/meson-logs/meson-log.txt
4439
4540 - run : ninja -C build
41+
42+ # this catches configuration and build log
4643 - uses : actions/upload-artifact@v1
4744 if : failure()
4845 with :
6663 FC : gfortran-9
6764 CC : gcc-9
6865 - run : cmake --build build --parallel
66+
67+ - uses : actions/upload-artifact@v1
68+ if : failure()
69+ with :
70+ name : Mac_CMake_Buildlog
71+ path : build/CMakeFiles/CMakeError.log
72+
6973 - run : ctest -V
7074 working-directory : build
75+
76+ - uses : actions/upload-artifact@v1
77+ if : failure()
78+ with :
79+ name : Mac_CMake_Testlog
80+ path : build/Testing/Temporary/LastTest.log
You can’t perform that action at this time.
0 commit comments