summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLain Soykaf <lain@lain.com>2021-12-26 18:54:54 +0100
committerLain Soykaf <lain@lain.com>2021-12-26 18:54:54 +0100
commitac3b5037219f75c0dcec424052dab2e2e65149bd (patch)
tree2e3cb79052ea55262eb7dfd6c6e268ca1cfd2c9b
parentc52390a7d9170c00371561115f3eb8eea6fb3515 (diff)
CI: Fix the broken tasks.more-efficient-ci
-rw-r--r--.gitlab-ci.yml11
1 files changed, 10 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9155af0e5..bebd97efb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -154,6 +154,10 @@ lint:
- "**/*.exs"
- "mix.lock"
cache: *testing_cache_policy
+ before_script:
+ - mix local.hex --force
+ - mix local.rebar --force
+ - mix deps.get
script:
- mix format --check-formatted
@@ -177,8 +181,13 @@ cycles:
- "**/*.exs"
- "mix.lock"
cache: {}
- script:
+ before_script:
+ - mix local.hex --force
+ - mix local.rebar --force
- mix deps.get
+ - apt-get update
+ - apt-get install cmake libmagic-dev -y
+ script:
- mix compile
- mix xref graph --format cycles --label compile | awk '{print $0} END{exit ($0 != "No cycles found")}'