summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2021-06-17 14:13:35 +0200
committerBastien Nocera <hadess@hadess.net>2021-06-17 15:45:02 +0200
commit0e9c6192ab937ea4a952da0cfee5d5138751fdae (patch)
tree65c5d2c47ded238e134347cc648a2b8ef8d9acf9
parentdaf15b0f91bff44b95977edfd39497c43acac5ef (diff)
ci: Export the tarball in the artifacts
Saves us from generating it locally.
-rw-r--r--.gitlab-ci.yml11
1 files changed, 10 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 89dfc90..b83f7aa 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -36,6 +36,15 @@ build_stable:
- make install
- make check
- make distcheck
- - cd ..
+ artifacts:
+ when: on_success
+ name: "upower-${CI_COMMIT_REF_NAME}"
+ paths:
+ - "${CI_PROJECT_DIR}/_build/upower-*.tar.xz"
+
+check_abi:
+ before_script:
+ - dnf update -y --nogpgcheck && dnf install -y --nogpgcheck $DEPENDENCIES
+ script:
- curl https://gitlab.freedesktop.org/hadess/check-abi/-/raw/main/contrib/check-abi-fedora.sh | bash
- check-abi --suppr .ci/upower.suppr ${LAST_ABI_BREAK} $(git rev-parse HEAD)