Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Martin Reinecke
ducc
Commits
8a151f78
Commit
8a151f78
authored
Feb 24, 2020
by
Martin Reinecke
Browse files
Merge branch 'add_ci' into 'master'
Add ci See merge request mtr/cxxbase!2
parents
2a1651f8
de2c21a1
Pipeline
#69726
passed with stages
in 8 minutes and 48 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
8a151f78
image
:
$CONTAINER_TEST_IMAGE
variables
:
CONTAINER_TEST_IMAGE
:
gitlab-registry.mpcdf.mpg.de/$CI_PROJECT_PATH:$CI_BUILD_REF_NAME
OMP_NUM_THREADS
:
2
stages
:
-
build_docker
-
testing
build_docker
:
image
:
docker:stable
stage
:
build_docker
script
:
-
docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN gitlab-registry.mpcdf.mpg.de
-
docker build -t $CONTAINER_TEST_IMAGE .
-
docker push $CONTAINER_TEST_IMAGE
test_pypocketfft_gcc
:
stage
:
testing
script
:
-
cd pypocketfft
-
python3 setup.py install --user -f
-
pytest-3 -q test
test_pysharp_gcc
:
stage
:
testing
script
:
-
cd pysharp
-
python3 setup.py install --user -f
-
pytest-3 -q test
test_nifty_gridder_gcc
:
stage
:
testing
script
:
-
cd nifty_gridder
-
python3 setup.py install --user -f
-
pytest-3 -q test
test_pyHealpix_gcc
:
stage
:
testing
script
:
-
cd pyHealpix
-
python3 setup.py install --user -f
-
pytest-3 -q test
Dockerfile
0 → 100644
View file @
8a151f78
FROM
debian:testing-slim
RUN
apt-get update
&&
apt-get
install
-y
git python3-pip python3-pytest python3-pybind11 pybind11-dev python3-pyfftw
&&
rm
-rf
/var/lib/apt/lists/
*
pypocketfft/setup.py
View file @
8a151f78
...
...
@@ -13,7 +13,7 @@ class _deferred_pybind11_include(object):
include_dirs
=
[
'.'
,
_deferred_pybind11_include
(
True
),
_deferred_pybind11_include
()]
extra_compile_args
=
[
'--std=c++14'
,
'-march=native'
,
'-ffast-math'
,
'-O3'
]
extra_compile_args
=
[
'-I.'
,
'--std=c++14'
,
'-march=native'
,
'-ffast-math'
,
'-O3'
]
python_module_link_args
=
[]
define_macros
=
[]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment