CI: Purge pleroma build directory between runs
authorAlex Gleason <alex@alexgleason.me>
Thu, 29 Apr 2021 18:03:41 +0000 (13:03 -0500)
committerAlex Gleason <alex@alexgleason.me>
Thu, 29 Apr 2021 18:15:48 +0000 (13:15 -0500)
.gitlab-ci.yml

index 2651ff9e6109bf46bd62b49ed8214cd1c6acee19..78e715d47396b3c7a6065cd0b7dbcb7d1980afb9 100644 (file)
@@ -24,6 +24,7 @@ stages:
   - docker
 
 before_script:
+  - rm -rf _build/*/lib/pleroma
   - apt-get update && apt-get install -y cmake
   - mix local.hex --force
   - mix local.rebar --force
@@ -31,6 +32,9 @@ before_script:
   - apt-get -qq update
   - apt-get install -y libmagic-dev
 
+after_script:
+  - rm -rf _build/*/lib/pleroma
+
 build:
   stage: build
   script: