Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Software
CoPaR
Commits
7b790ad3
Commit
7b790ad3
authored
Oct 19, 2022
by
Hans-Peter Deifel
🐢
Browse files
ci: Enable new ci for master
parent
f03ad15e
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
7b790ad3
...
...
@@ -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/
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment