Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dz-ci-prototype
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
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
poquet
dz-ci-prototype
Commits
cd476291
"src/julia/intro-julia.ipynb" did not exist on "a470122103b113294d39dad932af629c337d770d"
Commit
cd476291
authored
2 years ago
by
Millian Poquet
Browse files
Options
Downloads
Patches
Plain Diff
ci: build/test python stuff
parent
7bab6d38
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+10
-1
10 additions, 1 deletion
.gitlab-ci.yml
with
10 additions
and
1 deletion
.gitlab-ci.yml
+
10
−
1
View file @
cd476291
...
@@ -12,19 +12,28 @@ stages:
...
@@ -12,19 +12,28 @@ stages:
debian
:
debian
:
stage
:
unique_stage
stage
:
unique_stage
image
:
debian:unstable-slim
image
:
debian:unstable-slim
# we could cache dependencies installation in our own Dockerfile
script
:
script
:
# Get various dependencies
# Get various dependencies
-
apt update -y
-
apt update -y
-
apt install -y g++ libsimgrid-dev libzmq3-dev libprotobuf-dev protobuf-compiler libgtest-dev meson ninja-build pkg-config
-
apt install -y g++ libsimgrid-dev libzmq3-dev libprotobuf-dev protobuf-compiler libgtest-dev meson ninja-build pkg-config
python3 python3-pip
# Build protocol (c++)
# Build protocol (c++)
-
(cd protocol && meson setup build --prefix=/usr && ninja -C build && meson install -C build)
-
(cd protocol && meson setup build --prefix=/usr && ninja -C build && meson install -C build)
# Build client (c++)
# Build client (c++)
-
(cd client-cpp && meson setup build --prefix=/usr && ninja -C build && meson install -C build)
-
(cd client-cpp && meson setup build --prefix=/usr && ninja -C build && meson install -C build)
# Build simulator (c++)
# Build simulator (c++)
-
(cd simgrid-simulator && meson setup build --prefix=/usr -Ddo_unit_tests=true && ninja -C build && meson install -C build)
-
(cd simgrid-simulator && meson setup build --prefix=/usr -Ddo_unit_tests=true && ninja -C build && meson install -C build)
# Build protocol (python)
-
(cd protocol && pip install .)
# Build client (python)
-
(cd client-py && pip install .)
# Run unit tests (simgrid simulator, c++)
# Run unit tests (simgrid simulator, c++)
-
(cd simgrid-simulator && meson test -C build)
-
(cd simgrid-simulator && meson test -C build)
# Run integration tests (simgrid simulator VS c++ client)
# Run integration tests (simgrid simulator VS c++ client)
-
test/simulator-cpp-client.sh
-
test/simulator-cpp-client.sh
# Run integration tests (simgrid simulator VS python client)
-
test/simulator-py-client.sh
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