Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
colibrics
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
colibrics
Commits
00dc3b6d
Commit
00dc3b6d
authored
3 years ago
by
François Bobot
Browse files
Options
Downloads
Patches
Plain Diff
[CI] Simplify deployement
regroup all in one job
parent
ebefc719
No related branches found
No related tags found
1 merge request
!16
Fp/ieee
Pipeline
#37088
passed
3 years ago
Stage: test
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+10
-22
10 additions, 22 deletions
.gitlab-ci.yml
with
10 additions
and
22 deletions
.gitlab-ci.yml
+
10
−
22
View file @
00dc3b6d
stages
:
-
test
-
deploy
.build-matrix
:
parallel
:
...
...
@@ -74,12 +73,20 @@ generate-static:
-
opam repo add coq-released https://coq.inria.fr/opam/released
-
opam depext --yes --install why3 core jingoo yojson logs core coq-flocq coq-coq2html
# For generation not done in release mode
-
opam depext --yes --install ounit2
# For tests move to opam file?
-
echo -e "\e[31mCompile Farith2\e[0m"
-
make -C farith2
-
make -C farith2 doc
-
tar -cvf farith2_doc.tar.gz farith2/doc/
-
echo -e "\e[31mCompile Colibri2 static\e[0m"
-
make
-
make test
-
dune install --destdir=destdir --prefix=/
-
cp destdir/bin/colibri2 colibri2
-
echo -e "\e[31mCreate Starexec archive\e[0m"
-
mkdir bin
-
mv colibri2 bin/
-
mv misc/starexec_run_default bin/
-
tar -cvf colibri2_starexec_$CI_COMMIT_SHORT_SHA.tar.gz bin/
tags
:
-
docker
rules
:
...
...
@@ -90,24 +97,5 @@ generate-static:
artifacts
:
paths
:
-
colibri2
-
farith2/doc/
starexec
:
stage
:
deploy
# ocaml/opam:alpine-3.13-opam
image
:
ocaml/opam@sha256:db94e740f73340f00113f09e5da81fe93183f241ac5974393cc51dfbdcc17b2d
rules
:
-
when
:
manual
dependencies
:
-
generate-static
script
:
-
mkdir bin
-
mv colibri2 bin/
-
mv misc/starexec_run_default bin/
artifacts
:
expose_as
:
'
Starexec'
name
:
'
colibri2_starexec_$CI_COMMIT_SHORT_SHA'
paths
:
-
bin/
tags
:
-
docker
-
farith2_doc.tar.gz
-
colibri2_starexec_$CI_COMMIT_SHORT_SHA.tar.gz
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment