Skip to content
Snippets Groups Projects
Verified Commit ed8f8076 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

CI: simplify artifact paths using double glob star

This was introduced in Gitlab 13.0.

By the way, this ensures that test artifacts which are deep in the directory
hierarchy (such as those for the MoM tooblox) are also taken into account.

(cherry picked from commit a5d70785)
parent 4cbdb21f
Branches
Tags
No related merge requests found
...@@ -40,10 +40,8 @@ build_binaries: ...@@ -40,10 +40,8 @@ build_binaries:
- dynare++/src/*_tab.cc - dynare++/src/*_tab.cc
- dynare++/src/*_tab.hh - dynare++/src/*_tab.hh
- dynare++/src/*_ll.cc - dynare++/src/*_ll.cc
- dynare++/*/*.o - dynare++/**/*.o
- dynare++/*/*.a - dynare++/**/*.a
- dynare++/*/*/*.o
- dynare++/*/*/*.a
- dynare++/integ/src/quadrature-points - dynare++/integ/src/quadrature-points
- dynare++/src/dynare++ - dynare++/src/dynare++
expire_in: 3 days expire_in: 3 days
...@@ -57,8 +55,7 @@ build_doc: ...@@ -57,8 +55,7 @@ build_doc:
artifacts: artifacts:
paths: paths:
- doc/manual/build/ - doc/manual/build/
- doc/*.pdf - doc/**/*.pdf
- doc/*/*.pdf
- dynare++/doc/*.pdf - dynare++/doc/*.pdf
- preprocessor/doc/*/*.pdf - preprocessor/doc/*/*.pdf
expire_in: 3 days expire_in: 3 days
...@@ -122,14 +119,9 @@ pkg_macOS: ...@@ -122,14 +119,9 @@ pkg_macOS:
stage: test stage: test
artifacts: artifacts:
paths: paths:
- tests/*.m.log - tests/**/*.m.log
- tests/*.m.trs - tests/**/*.m.trs
- tests/*/*.m.log - tests/**/*.jnl
- tests/*/*.m.trs
- tests/*/*.jnl
- tests/*/*/*.m.log
- tests/*/*/*.m.trs
- tests/*/*/*.jnl
- tests/run_test_matlab_output.txt - tests/run_test_matlab_output.txt
when: always when: always
needs: [ "build_binaries" ] needs: [ "build_binaries" ]
...@@ -160,14 +152,9 @@ test_octave: ...@@ -160,14 +152,9 @@ test_octave:
- make -j $(nproc) -C tests check-octave - make -j $(nproc) -C tests check-octave
artifacts: artifacts:
paths: paths:
- tests/*.o.log - tests/**/*.o.log
- tests/*.o.trs - tests/**/*.o.trs
- tests/*/*.o.log - tests/**/*.jnl
- tests/*/*.o.trs
- tests/*/*.jnl
- tests/*/*/*.o.log
- tests/*/*/*.o.trs
- tests/*/*/*.jnl
- tests/run_test_octave_output.txt - tests/run_test_octave_output.txt
when: always when: always
needs: [ "build_binaries" ] needs: [ "build_binaries" ]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment