Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
COLIBRI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
COLIBRI
Commits
634ed080
Commit
634ed080
authored
1 year ago
by
Christophe Junke
Browse files
Options
Downloads
Patches
Plain Diff
docker: invoke makefile rules, keep bundle as artefact
parent
a5009436
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!42
Cleanup build scripts and git repository
Pipeline
#63184
failed
1 year ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+13
-22
13 additions, 22 deletions
.gitlab-ci.yml
Makefile
+3
-0
3 additions, 0 deletions
Makefile
with
16 additions
and
22 deletions
.gitlab-ci.yml
+
13
−
22
View file @
634ed080
...
...
@@ -3,20 +3,14 @@ tests_without_recompilation:
image
:
debian@sha256:7ceacc4462a98718b236cbdeb850d4b7603afe4bab791336a0ed1c030f769f02
script
:
-
apt-get update
-
apt-get install -y ocaml-nox
#Eclipse Prolog compilation of COLIBRI
-
ocamlopt -o compile_colibri unix.cmxa compile_colibri.ml
-
./compile_colibri
#Bundle in bundle directory
-
./bundle.sh bundle
-
cp -ra Bin/ECLIPSE_V7.0_45/ bundle/ECLIPSE/
#Test
-
apt-get update
-
apt-get install -y parallel
-
./test.sh -j2
-
apt-get install -y make ocaml-nox parallel
-
make
-
make install
-
make test
artifacts
:
paths
:
-
logs
-
bundle
expire_in
:
1 week
tags
:
-
docker
...
...
@@ -25,21 +19,18 @@ tests_with_recompilation:
#ocaml/opam:debian-10-ocaml-4.11
image
:
ocaml/opam@sha256:eaabdd3f42bd1ddfaa4b670b6bfb0acf3790a8927255d3fbc40576252798ce76
script
:
-
rm -f Src/COLIBRI/lib/v7/x86_64_linux/* Src/COLIBRI/simplex_ocaml.pl
#OCaml dependencies
-
opam depext --install "dune.2.7.1" "ocplib-simplex.0.4" "zarith.1.9.1" "parsexp.v0.14.0" "menhir.20200624" "fmt.0.8.8" "spelll.0.3" "uutf.1.0.2" "gen.0.5.3"
#OCaml compilation
-
make ECLIPSEBIN=$(pwd)/Bin/ECLIPSE_V7.0_45/
#Bundle in bundle directory
-
./bundle.sh bundle
-
cp -ra Bin/ECLIPSE_V7.0_45/ bundle/ECLIPSE/
#Test
-
sudo apt-get update
-
sudo apt-get install -y parallel
-
./test.sh -j2
-
sudo apt-get install -y make parallel
-
opam install "dune.2.7.1" "ocplib-simplex.0.5" "zarith.1.9.1" "parsexp.v0.14.0" "menhir.20200624" "fmt.0.8.8" "spelll.0.3" "uutf.1.0.2" "gen.0.5.3"
-
make clean
-
make clean_install
-
make
-
make install
-
make test
artifacts
:
paths
:
-
logs
-
bundle
expire_in
:
1 week
tags
:
-
docker
This diff is collapsed.
Click to expand it.
Makefile
+
3
−
0
View file @
634ed080
...
...
@@ -134,3 +134,6 @@ install: $(BUNDLE) $(BUNDLE)/colibri.exe
cp
-ra
compile_flag.pl
$(
BUNDLE
)
/COLIBRI/
cp
-ra
version
$(
BUNDLE
)
/
cp
-ra
$(
ECLIPSEBIN
)
$(
BUNDLE
)
/ECLIPSE/
test
:
./test.sh
-j2
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