ci: Fix tests with tags
We need to run the tests, and when on tags, run 'ninja dist'. Just that.
This commit is contained in:
parent
7762c15277
commit
dc50111829
1 changed files with 1 additions and 5 deletions
|
@ -76,16 +76,12 @@ test:
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- *environment_information
|
- *environment_information
|
||||||
|
- *run_tests
|
||||||
|
|
||||||
- |
|
- |
|
||||||
if [[ -n "${CI_COMMIT_TAG}" ]]; then
|
if [[ -n "${CI_COMMIT_TAG}" ]]; then
|
||||||
*run_tests
|
|
||||||
|
|
||||||
echo "== Distro Test =="
|
echo "== Distro Test =="
|
||||||
ninja dist -C _build
|
ninja dist -C _build
|
||||||
else
|
|
||||||
echo "== Testing =="
|
|
||||||
meson test -C _build --verbose --no-stdsplit
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
except:
|
except:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue