Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NP_TMcode
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Giacomo Mulas
NP_TMcode
Commits
e9acd2ee
Commit
e9acd2ee
authored
1 year ago
by
Giovanni La Mura
Browse files
Options
Downloads
Patches
Plain Diff
Create a gitLab pipeline configuration
parent
b0cf26cf
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+69
-0
69 additions, 0 deletions
.gitlab-ci.yml
with
69 additions
and
0 deletions
.gitlab-ci.yml
0 → 100644
+
69
−
0
View file @
e9acd2ee
# CI pipeline configuration
stages
:
-
build
-
run
-
test
building_stage
:
stage
:
build
allow_failure
:
false
artifacts
:
paths
:
-
build/cluster/*
- build/sphere/*
- build/trapping/*
exclude
:
-
"
.git*"
-
"
.git/**/*"
expire_in
:
2 hours
script
:
# bash commands to be executed
-
pwd
-
hostname
-
echo $CI_COMMIT_SHA
-
echo $CI_COMMIT_BRANCH
-
cd src
-
echo "Running make"
-
make
running_stage
:
stage
:
run
allow_failure
:
false
needs
:
-
job
:
building_stage
artifacts
:
paths
:
-
build/cluster/*
- build/sphere/*
- build/trapping/*
exclude
:
-
"
.git*"
-
"
.git/**/*"
expire_in
:
2 hours
script
:
# bash commands to be executed
-
pwd
-
hostname
-
echo $CI_COMMIT_SHA
-
echo $CI_COMMIT_BRANCH
-
cd build/sphere
-
echo "Running SPH"
-
chmod +x edfb sph np_sphere
-
./edfb
-
./sph
-
echo "Running np_sphere"
-
./np_sphere
-
cd ../cluster
-
echo "Running CLU"
-
chmod +x edfb clu np_cluster
-
./edfb
-
./clu
-
echo "Running np_cluster"
-
./np_cluster
testing_stage
:
stage
:
test
allow_failure
:
true
needs
:
-
job
:
running_stage
\ No newline at end of file
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