diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2023-02-17 12:16:39 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2023-03-06 23:36:29 +0300 |
commit | 010088a86ed0f59934c451e760543a6b85c4eaac (patch) | |
tree | 9e8a8a6712dd75f0cf9cb65b89e5fe0ef71cd039 | |
parent | e9e07005979085ac93e0c47044f00b77a6b23722 (diff) |
Add test for asdf installation
-rw-r--r-- | .gitlab/ci/test.gitlab-ci.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.gitlab/ci/test.gitlab-ci.yml b/.gitlab/ci/test.gitlab-ci.yml index cf238ca0..d52eee30 100644 --- a/.gitlab/ci/test.gitlab-ci.yml +++ b/.gitlab/ci/test.gitlab-ci.yml @@ -46,6 +46,28 @@ check_global_nav_entries: - make check-global-navigation # +# Check that asdf dependencies install correctly +# +check_asdf_installation: + image: ubuntu:22.04 + variables: + ASDF_VERSION: '0.11.1' + needs: [] + stage: test + before_script: + - apt update + - apt install -y build-essential git curl zlib1g-dev libyaml-dev libssl-dev + script: + - git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v$ASDF_VERSION + - source "$HOME/.asdf/asdf.sh" + - make setup-asdf + - make install-asdf-dependencies + rules: + - if: $CI_PIPELINE_SOURCE == "merge_request_event" + changes: + - .tool-versions + +# # Run rspec tests # rspec: |