Commit beacc3b5 authored by Thorsten Wißmann's avatar Thorsten Wißmann 🎸
Browse files

Build artifacts only in master

parent 8a54ff14
......@@ -9,13 +9,20 @@ cache:
paths:
- .stack-root/
test_branch:
script:
- stack --no-terminal --system-ghc --no-install-ghc --resolver lts-12.14 build --test --haddock --no-haddock-deps --bench --no-run-benchmarks
except:
- master
test:
script:
- stack --no-terminal --system-ghc --no-install-ghc --resolver lts-12.14 build --copy-bins --test --haddock --no-haddock-deps --bench --no-run-benchmarks
- cp -r ~/.local/bin/ copar-linux-binaries
only:
- master
artifacts:
name: "${CI_PROJECT_NAME}-linux-binaries"
expire_in: 10 yrs
paths:
- copar-linux-binaries/
- copar-linux-binaries/
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment