90 lines
3.0 KiB
YAML
90 lines
3.0 KiB
YAML
version: "3"
|
|
|
|
services:
|
|
common: &common
|
|
image: foundationdb/foundationdb-build:0.1.6
|
|
|
|
build-setup: &build-setup
|
|
<<: *common
|
|
depends_on: [common]
|
|
volumes:
|
|
- ..:/__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
|
|
environment:
|
|
- MAKEJOBS=1
|
|
- USE_CCACHE=1
|
|
- BUILD_DIR=./work
|
|
|
|
release-setup: &release-setup
|
|
<<: *build-setup
|
|
environment:
|
|
- MAKEJOBS=1
|
|
- USE_CCACHE=1
|
|
- RELEASE=true
|
|
- BUILD_DIR=./work
|
|
|
|
snapshot-setup: &snapshot-setup
|
|
<<: *build-setup
|
|
|
|
build-docs:
|
|
<<: *build-setup
|
|
volumes:
|
|
- ..:/foundationdb
|
|
working_dir: /foundationdb
|
|
command: scl enable devtoolset-8 python27 rh-python36 rh-ruby24 -- bash -c 'make -j "$${MAKEJOBS}" docpackage'
|
|
|
|
|
|
release-packages: &release-packages
|
|
<<: *release-setup
|
|
command: scl enable devtoolset-8 python27 rh-python36 rh-ruby24 -- bash -c 'make -j "$${MAKEJOBS}" packages'
|
|
|
|
snapshot-packages: &snapshot-packages
|
|
<<: *build-setup
|
|
command: scl enable devtoolset-8 python27 rh-python36 rh-ruby24 -- bash -c 'make -j "$${MAKEJOBS}" packages'
|
|
|
|
prb-packages:
|
|
<<: *snapshot-packages
|
|
|
|
|
|
release-bindings: &release-bindings
|
|
<<: *release-setup
|
|
command: scl enable devtoolset-8 python27 rh-python36 rh-ruby24 -- bash -c 'make -j "$${MAKEJOBS}" bindings'
|
|
|
|
snapshot-bindings: &snapshot-bindings
|
|
<<: *build-setup
|
|
command: scl enable devtoolset-8 python27 rh-python36 rh-ruby24 -- bash -c 'make -j "$${MAKEJOBS}" bindings'
|
|
|
|
prb-bindings:
|
|
<<: *snapshot-bindings
|
|
|
|
|
|
snapshot-cmake: &snapshot-cmake
|
|
<<: *build-setup
|
|
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'
|
|
|
|
prb-cmake:
|
|
<<: *snapshot-cmake
|
|
|
|
|
|
snapshot-ctest: &snapshot-ctest
|
|
<<: *build-setup
|
|
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'
|
|
|
|
prb-ctest:
|
|
<<: *snapshot-ctest
|
|
|
|
|
|
snapshot-correctness: &snapshot-correctness
|
|
<<: *build-setup
|
|
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
|
|
|
|
prb-correctness:
|
|
<<: *snapshot-correctness
|
|
|
|
|
|
shell:
|
|
<<: *build-setup
|
|
volumes:
|
|
- ..:/foundationdb
|
|
entrypoint: /bin/bash
|