Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
hysop
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
particle_methods
hysop
Commits
c28926d3
Commit
c28926d3
authored
8 years ago
by
Franck Pérignon
Browse files
Options
Downloads
Patches
Plain Diff
update CI. Run all tests
parent
9fa2a2cb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+3
-38
3 additions, 38 deletions
.gitlab-ci.yml
ci/run_tests.sh
+1
-1
1 addition, 1 deletion
ci/run_tests.sh
with
4 additions
and
39 deletions
.gitlab-ci.yml
+
3
−
38
View file @
c28926d3
...
@@ -16,29 +16,14 @@ config:debian:
...
@@ -16,29 +16,14 @@ config:debian:
build:debian
:
build:debian
:
image
:
fperignon/hysop:debian
image
:
fperignon/hysop:debian
stage
:
build
stage
:
build
script
:
script
:
"
sh
ci/build_install_clean.sh"
-
cd build
-
make
-
make install
-
cd ..
-
python -c 'import hysop'
-
cd build
-
echo $'y\n'|make uninstall
-
make clean
dependencies
:
dependencies
:
-
config:debian
-
config:debian
artifacts
:
paths
:
-
build/
test:debian
:
test:debian
:
image
:
fperignon/hysop:debian
image
:
fperignon/hysop:debian
stage
:
test
stage
:
test
script
:
script
:
"
sh
ci/run_tests.sh"
-
cd build
-
make
-
ctest -VV -I 2,2
#- make test
dependencies
:
dependencies
:
-
build:debian
-
build:debian
...
@@ -53,35 +38,15 @@ config:ubuntu:
...
@@ -53,35 +38,15 @@ config:ubuntu:
build:ubuntu
:
build:ubuntu
:
image
:
fperignon/hysop:ubuntu
image
:
fperignon/hysop:ubuntu
stage
:
build
stage
:
build
script
:
script
:
"
sh
ci/build_install_clean.sh"
-
cd build
-
make
-
make install
-
cd ..
-
python -c 'import hysop'
-
cd build
-
echo $'y\n'|make uninstall
-
make clean
-
cd ..
-
rm -rf build
dependencies
:
dependencies
:
-
config:ubuntu
-
config:ubuntu
#artifacts:
# paths:
# - build/
test:ubuntu
:
test:ubuntu
:
image
:
fperignon/hysop:ubuntu
image
:
fperignon/hysop:ubuntu
stage
:
test
stage
:
test
script
:
script
:
#- cd build
#- chmod -R 777 .
-
useradd "hysoprunner"
-
useradd "hysoprunner"
-
su "hysoprunner" -c "sh ci/run_tests.sh"
-
su "hysoprunner" -c "sh ci/run_tests.sh"
#- su "hysoprunner" -c "ctest -VV -I 1,4"
#- make test
dependencies
:
dependencies
:
-
build:ubuntu
-
build:ubuntu
#artifacts:
# paths:
# - build/
This diff is collapsed.
Click to expand it.
ci/run_tests.sh
+
1
−
1
View file @
c28926d3
...
@@ -4,4 +4,4 @@ cd build
...
@@ -4,4 +4,4 @@ cd build
export
FC
=
mpif90
CC
=
mpicc
CXX
=
mpic++
export
FC
=
mpif90
CC
=
mpicc
CXX
=
mpic++
cmake
-D
CMAKE_BUILD_TYPE
=
Debug
-DWITH_LIB_CXX
=
OFF ..
cmake
-D
CMAKE_BUILD_TYPE
=
Debug
-DWITH_LIB_CXX
=
OFF ..
make
make
ctest
-VV
-I
1,4
make
test
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