Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Thomas Heller
committed
Oct 11, 2017
1 parent
8397a95
commit e826b66
Showing
2 changed files
with
75 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
# Copyright (c) 2015 Martin Stumpf | ||
# Copyright (c) 2017 Thomas Heller | ||
# | ||
# Distributed under the Boost Software License, Version 1.0. (See accompanying | ||
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | ||
|
||
version: 2 | ||
|
||
jobs: | ||
build: | ||
docker: | ||
- image: stellargroup/build_env:debian_clang | ||
environment: | ||
TARGET_IMAGE_NAME: stellargroup/hpx:dev | ||
working_directory: / | ||
steps: | ||
- checkout | ||
|
||
- run: | ||
name: Running cmake | ||
command: | | ||
cmake --version | ||
g++ --version | ||
#general: | ||
# branches: | ||
# ignore: | ||
# - gh-pages | ||
# | ||
#dependencies: | ||
# pre: | ||
# - docker pull ${IMAGE_NAME} | ||
# - mkdir build | ||
# override: | ||
# - docker run -v $PWD:/hpx -w /hpx/build ${IMAGE_NAME} cmake .. -DCMAKE_BUILD_TYPE=Debug -DHPX_WITH_MALLOC=system -DHPX_WITH_GIT_COMMIT=${CIRCLE_SHA1} -DHPX_WITH_TOOLS=On -DCMAKE_CXX_FLAGS="-fcolor-diagnostics" -DHPX_WITH_TESTS_HEADERS=On -DHPX_WITH_DEPRECATION_WARNINGS=Off -DCMAKE_EXPORT_COMPILE_COMMANDS=On | ||
# - docker run -v $PWD:/hpx -w /hpx/build ${IMAGE_NAME} ../tools/clang-tidy.sh -diff-master | ||
# - docker run -v $PWD:/hpx -w /hpx/build ${IMAGE_NAME} make -j2 core | ||
# - docker run -v $PWD:/hpx -w /hpx/build ${IMAGE_NAME} make -j2 -k components | ||
# - docker run -v $PWD:/hpx -w /hpx/build ${IMAGE_NAME} make -j2 -k examples | ||
# - docker run -v $PWD:/hpx -w /hpx/build ${IMAGE_NAME} make -j2 -k tests.unit.build tests.unit.diagnostics tests.unit.actions tests.unit.agas tests.unit.component tests.unit.computeapi tests.unit.lcos tests.unit.parcelset tests.unit.performance_counter tests.unit.serialization tests.unit.threads tests.unit.traits tests.unit.util | ||
# - docker run -v $PWD:/hpx -w /hpx/build ${IMAGE_NAME} make -j2 -k tests.unit.parallel | ||
# - docker run -v $PWD:/hpx -w /hpx/build ${IMAGE_NAME} make -j2 -k tests.regressions | ||
# - docker run -v $PWD:/hpx -w /hpx/build ${IMAGE_NAME} make -j2 -k tests.headers | ||
# - docker run -v $PWD:/hpx -w /hpx/build ${IMAGE_NAME} make -j2 -k tests.performance | ||
# - docker run -v $PWD:/hpx -w /hpx/build ${IMAGE_NAME} make -j2 -k tools.inspect | ||
# # TODO replace this line with "docker build" once docker managed to | ||
# # introduce temporal file copies that don't show in the resulting image | ||
# # size. | ||
# # The problem is the "ADD/COPY" and "RUN rm" in Dockerfile. Those count | ||
# # as separate steps and keep the temporal files stored as part of the | ||
# # image, expanding it by about 500 MB. | ||
# # docker-compile.pl is a dirty workaround, and shall be removed ASAP. | ||
# - cp tools/docker/Dockerfile tools/docker/.dockerignore . | ||
# - ./tools/docker/docker-compile.pl ${TARGET_IMAGE_NAME}: | ||
# timeout: 1200 # increase timeout to avoid failure | ||
# | ||
#test: | ||
# override: | ||
# - docker run -v $PWD:/hpx -w /hpx ${IMAGE_NAME} ./build/bin/inspect --all --output=./build/hpx_inspect_report.html /hpx | ||
# - cp $PWD/build/hpx_inspect_report.html ${CIRCLE_ARTIFACTS}/ | ||
# - docker run -v $PWD:/hpx -w /hpx/build ${IMAGE_NAME} ./bin/hello_world --hpx:bind=none | ||
# #- docker run -v $PWD:/hpx -w /hpx/build ${IMAGE_NAME} ctest -D ExperimentalTest -R tests.unit --output-on-failure | ||
# #- docker run -v $PWD:/hpx -w /hpx/build ${IMAGE_NAME} ctest -D ExperimentalTest -R tests.regressions --output-on-failure | ||
# - sudo rm -rf build && mkdir build | ||
# - docker run -v $PWD:/hpx -w /hpx/build ${TARGET_IMAGE_NAME} hello_world --hpx:bind=none | ||
# - docker run -v $PWD:/hpx -w /hpx/build ${TARGET_IMAGE_NAME} hpxcxx --exe=hello_world_test_build ../examples/quickstart/hello_world.cpp -g -lhpx_iostreamsd | ||
# - docker run -v $PWD:/hpx -w /hpx/build ${TARGET_IMAGE_NAME} ./hello_world_test_build --hpx:bind=none | ||
# - docker run -v $PWD:/hpx -w /hpx/build ${TARGET_IMAGE_NAME} hpxrun.py -l 2 -t 2 ./hello_world_test_build -- --hpx:bind=none | ||
# | ||
#deployment: | ||
# hub: | ||
# branch: master | ||
# commands: | ||
# - docker login -e ${DOCKER_EMAIL} -u ${DOCKER_USER} -p ${DOCKER_PASS} | ||
# - docker push ${TARGET_IMAGE_NAME} |
This file was deleted.
Oops, something went wrong.