2018-11-02 05:29:01 +08:00
|
|
|
version: "3"
|
|
|
|
|
|
|
|
services:
|
|
|
|
common: &common
|
2019-06-26 04:24:08 +08:00
|
|
|
image: foundationdb/foundationdb-build:0.1.6
|
2018-11-02 05:29:01 +08:00
|
|
|
|
|
|
|
build-setup: &build-setup
|
|
|
|
<<: *common
|
|
|
|
depends_on: [common]
|
|
|
|
volumes:
|
2019-04-23 03:04:08 +08:00
|
|
|
- ..:/__this_is_some_very_long_name_dir_needed_to_fix_a_bug_with_debug_rpms__/foundationdb
|
|
|
|
working_dir: /__this_is_some_very_long_name_dir_needed_to_fix_a_bug_with_debug_rpms__/foundationdb
|
2019-02-01 23:08:03 +08:00
|
|
|
environment:
|
|
|
|
- MAKEJOBS=1
|
2019-06-18 00:56:34 +08:00
|
|
|
- USE_CCACHE=1
|
2019-02-13 09:01:04 +08:00
|
|
|
- BUILD_DIR=./work
|
2019-02-01 23:08:03 +08:00
|
|
|
|
|
|
|
release-setup: &release-setup
|
|
|
|
<<: *build-setup
|
|
|
|
environment:
|
|
|
|
- MAKEJOBS=1
|
2019-06-18 00:56:34 +08:00
|
|
|
- USE_CCACHE=1
|
2019-02-01 23:08:03 +08:00
|
|
|
- RELEASE=true
|
2019-02-13 09:01:04 +08:00
|
|
|
- BUILD_DIR=./work
|
2019-02-01 23:08:03 +08:00
|
|
|
|
|
|
|
snapshot-setup: &snapshot-setup
|
|
|
|
<<: *build-setup
|
2018-11-02 05:29:01 +08:00
|
|
|
|
|
|
|
build-docs:
|
|
|
|
<<: *build-setup
|
2019-05-11 23:01:32 +08:00
|
|
|
volumes:
|
|
|
|
- ..:/foundationdb
|
|
|
|
working_dir: /foundationdb
|
2019-05-16 04:27:08 +08:00
|
|
|
command: scl enable devtoolset-8 python27 rh-python36 rh-ruby24 -- bash -c 'make -j "$${MAKEJOBS}" docpackage'
|
2019-02-01 23:08:03 +08:00
|
|
|
|
2018-11-02 05:29:01 +08:00
|
|
|
|
2019-02-01 23:08:03 +08:00
|
|
|
release-packages: &release-packages
|
|
|
|
<<: *release-setup
|
2019-05-16 04:27:08 +08:00
|
|
|
command: scl enable devtoolset-8 python27 rh-python36 rh-ruby24 -- bash -c 'make -j "$${MAKEJOBS}" packages'
|
2019-02-01 23:08:03 +08:00
|
|
|
|
|
|
|
snapshot-packages: &snapshot-packages
|
2018-11-02 05:29:01 +08:00
|
|
|
<<: *build-setup
|
2019-05-16 04:27:08 +08:00
|
|
|
command: scl enable devtoolset-8 python27 rh-python36 rh-ruby24 -- bash -c 'make -j "$${MAKEJOBS}" packages'
|
2019-02-01 23:08:03 +08:00
|
|
|
|
|
|
|
prb-packages:
|
|
|
|
<<: *snapshot-packages
|
2018-11-02 05:29:01 +08:00
|
|
|
|
2019-02-01 23:08:03 +08:00
|
|
|
|
|
|
|
release-bindings: &release-bindings
|
|
|
|
<<: *release-setup
|
2019-05-16 04:27:08 +08:00
|
|
|
command: scl enable devtoolset-8 python27 rh-python36 rh-ruby24 -- bash -c 'make -j "$${MAKEJOBS}" bindings'
|
2019-02-01 23:08:03 +08:00
|
|
|
|
|
|
|
snapshot-bindings: &snapshot-bindings
|
2018-11-02 05:29:01 +08:00
|
|
|
<<: *build-setup
|
2019-05-16 04:27:08 +08:00
|
|
|
command: scl enable devtoolset-8 python27 rh-python36 rh-ruby24 -- bash -c 'make -j "$${MAKEJOBS}" bindings'
|
2019-02-01 23:08:03 +08:00
|
|
|
|
|
|
|
prb-bindings:
|
|
|
|
<<: *snapshot-bindings
|
2018-11-02 05:29:01 +08:00
|
|
|
|
|
|
|
|
2019-02-12 04:42:36 +08:00
|
|
|
snapshot-cmake: &snapshot-cmake
|
|
|
|
<<: *build-setup
|
2019-06-29 08:00:00 +08:00
|
|
|
command: scl enable devtoolset-8 python27 rh-python36 rh-ruby24 -- bash -c 'mkdir -p "$${BUILD_DIR}" && cd "$${BUILD_DIR}" && cmake -DCMAKE_COLOR_MAKEFILE=0 -DFDB_RELEASE=0 -DVALGRIND=0 /__this_is_some_very_long_name_dir_needed_to_fix_a_bug_with_debug_rpms__/foundationdb && make -j "$${MAKEJOBS}" packages preinstall && cpack'
|
2019-02-12 04:42:36 +08:00
|
|
|
|
|
|
|
prb-cmake:
|
|
|
|
<<: *snapshot-cmake
|
|
|
|
|
|
|
|
|
|
|
|
snapshot-ctest: &snapshot-ctest
|
|
|
|
<<: *build-setup
|
2019-06-29 08:00:00 +08:00
|
|
|
command: scl enable devtoolset-8 python27 rh-python36 rh-ruby24 -- bash -c 'mkdir -p "$${BUILD_DIR}" && cd "$${BUILD_DIR}" && cmake -DCMAKE_COLOR_MAKEFILE=0 -DFDB_RELEASE=1 /__this_is_some_very_long_name_dir_needed_to_fix_a_bug_with_debug_rpms__/foundationdb && make -j "$${MAKEJOBS}" && ctest -L fast -j "$${MAKEJOBS}" --output-on-failure'
|
2019-02-12 04:42:36 +08:00
|
|
|
|
|
|
|
prb-ctest:
|
|
|
|
<<: *snapshot-ctest
|
|
|
|
|
|
|
|
|
2019-02-13 08:22:56 +08:00
|
|
|
snapshot-correctness: &snapshot-correctness
|
|
|
|
<<: *build-setup
|
2019-06-29 08:00:00 +08:00
|
|
|
command: scl enable devtoolset-8 python27 rh-python36 rh-ruby24 -- bash -c 'mkdir -p "$${BUILD_DIR}" && cd "$${BUILD_DIR}" && cmake -DCMAKE_COLOR_MAKEFILE=0 -DFDB_RELEASE=1 /__this_is_some_very_long_name_dir_needed_to_fix_a_bug_with_debug_rpms__/foundationdb && make -j "$${MAKEJOBS}" && ctest -j "$${MAKEJOBS}" --output-on-failure
|
2019-02-13 08:22:56 +08:00
|
|
|
|
|
|
|
prb-correctness:
|
|
|
|
<<: *snapshot-correctness
|
|
|
|
|
|
|
|
|
2018-11-02 05:29:01 +08:00
|
|
|
shell:
|
|
|
|
<<: *build-setup
|
|
|
|
volumes:
|
|
|
|
- ..:/foundationdb
|
|
|
|
entrypoint: /bin/bash
|