Skip to content
Snippets Groups Projects
Commit 8c406733 authored by Hans-Peter Deifel's avatar Hans-Peter Deifel :turtle:
Browse files

Test release flag in ci

Also, use the binaries built *with* the release flag as artifacts, so people can
download the fastest version available.
parent f7bf2f0e
Branches release-ci
No related tags found
1 merge request!30Test release flag in ci
......@@ -9,9 +9,16 @@ cache:
paths:
- .stack-root/
test_branch:
script:
- stack --no-terminal --system-ghc --no-install-ghc build --copy-bins --test --haddock --no-haddock-deps --bench --no-run-benchmarks --flag copar:benchmark-generators
- stack --no-terminal --system-ghc --no-install-ghc build --test --haddock --no-haddock-deps --bench --no-run-benchmarks --flag copar:benchmark-generators
except:
- master
test_branch_release:
script:
- stack --no-terminal --system-ghc --no-install-ghc build --copy-bins --test --haddock --no-haddock-deps --bench --no-run-benchmarks --flag copar:benchmark-generators --flag copar:release
- cp -r ~/.local/bin/ copar-linux-binaries
except:
- master
......@@ -23,7 +30,14 @@ test_branch:
test:
script:
- stack --no-terminal --system-ghc --no-install-ghc build --copy-bins --test --haddock --no-haddock-deps --bench --no-run-benchmarks --flag copar:benchmark-generators
- stack --no-terminal --system-ghc --no-install-ghc build --test --haddock --no-haddock-deps --bench --no-run-benchmarks --flag copar:benchmark-generators
only:
- master
test_release:
script:
- stack --no-terminal --system-ghc --no-install-ghc build --copy-bins --test --haddock --no-haddock-deps --bench --no-run-benchmarks --flag copar:benchmark-generators --flag copar:release
- cp -r ~/.local/bin/ copar-linux-binaries
only:
- master
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment