Commit 7b790ad3 authored by Hans-Peter Deifel's avatar Hans-Peter Deifel 🐢
Browse files

ci: Enable new ci for master

parent f03ad15e
......@@ -14,11 +14,9 @@ before_script:
- cabal update
test_branch:
test:
script:
- cabal build --run-tests --flag benchmark-generators
except:
- master
test_branch_release:
script:
......@@ -33,21 +31,15 @@ test_branch_release:
paths:
- copar-linux-binaries/
# test:
# script:
# - 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
# artifacts:
# name: "${CI_PROJECT_NAME}-linux-binaries"
# expire_in: 10 yrs
# paths:
# - copar-linux-binaries/
test_release:
script:
- cabal build --run-tests --flag benchmark-generators --flag release
- mkdir copar-linux-binaries
- for e in copar prism-converter berkeleyparser-converter random-dfa random-wta; do cabal list-bin --flag benchmark-generators --flag release exe:$e; done | xargs -I _ cp _ copar-linux-binaries/
only:
- master
artifacts:
name: "${CI_PROJECT_NAME}-linux-binaries"
expire_in: 10 yrs
paths:
- 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