diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2020-03-25 09:42:35 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2020-03-25 09:42:35 +0100 |
commit | ff2ff2e3f78bd75a8e67f9d25516756ffb3708ab (patch) | |
tree | ed0e32f141a7215c8665b2159c54ac7a88109d11 /.gitlab-ci.yml | |
parent | 9bf9a03ec16522d461563767ba4f9d3fd0aeea9e (diff) |
ci: Improve tests for changes (or the lack thereof) in the source.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f56f2426..7d02ff97 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -32,10 +32,12 @@ bullseye: script: - make test # XXX: We cannot currently use valgrind, https://github.com/rust-lang/rust/issues/68979 - make + - if ! git diff --quiet Cargo.lock ; then echo "Cargo.lock changed. Please add the change to the corresponding commit." ; false ; fi - make -C tool update-usage - - if ! git diff --quiet ; then echo "Please run 'make -C tool update-usage' and commit the result." ; false ; fi + - if ! git diff --quiet tool ; then echo "Please run 'make -C tool update-usage' and commit the result." ; false ; fi - make -C sqv update-usage - - if ! git diff --quiet ; then echo "Please run 'make -C sqv update-usage' and commit the result." ; false ; fi + - if ! git diff --quiet sqv ; then echo "Please run 'make -C sqv update-usage' and commit the result." ; false ; fi + - if ! git diff --quiet ; then echo "The build changed the source. Please investigate." ; git diff ; fi variables: CARGO_TARGET_DIR: $CI_PROJECT_DIR/../target.$CI_CONCURRENT_ID.bullseye |