Loading .gitlab-ci.yml +15 −6 Original line number Diff line number Diff line variables: TESTV_DIR: "/usr/local/testv" BUILD_OUTPUT: "build_output.txt" # prevent running two pipelines on pushes to merge request branches workflow: Loading Loading @@ -38,15 +38,24 @@ stages: - if [ ! -d "$TESTV_DIR" ]; then mkdir -p $TESTV_DIR; fi - cp -r scripts/testv/* $TESTV_DIR/ # template for build jobs to include the check for warnings .build-job-with-check-for-warnings: extends: .test-job-linux stage: build allow_failure: exit_codes: - 123 after_script: - if [ ! -f "$BUILD_OUTPUT" ]; then echo "$BUILD_OUTPUT file is missing!"; exit 1; fi - echo "$CI_BUILDS_DIR" - $CI_BUILDS_DIR/ci/check_for_warnings.py $BUILD_OUTPUT # build all components of the project, i.e. codec itself, the unittests, the prerenderer and the standalone version of the TD object renderer build-codec-linux: extends: .test-job-linux extends: .build-job-with-check-for-warnings rules: - if: $CI_PIPELINE_SOURCE == 'merge_request_event' stage: build script: - bash ci/build_all_linux.sh - make -j 2>&1 | tee $BUILD_OUTPUT build-codec-linux-cmake: extends: .test-job-linux Loading Loading
.gitlab-ci.yml +15 −6 Original line number Diff line number Diff line variables: TESTV_DIR: "/usr/local/testv" BUILD_OUTPUT: "build_output.txt" # prevent running two pipelines on pushes to merge request branches workflow: Loading Loading @@ -38,15 +38,24 @@ stages: - if [ ! -d "$TESTV_DIR" ]; then mkdir -p $TESTV_DIR; fi - cp -r scripts/testv/* $TESTV_DIR/ # template for build jobs to include the check for warnings .build-job-with-check-for-warnings: extends: .test-job-linux stage: build allow_failure: exit_codes: - 123 after_script: - if [ ! -f "$BUILD_OUTPUT" ]; then echo "$BUILD_OUTPUT file is missing!"; exit 1; fi - echo "$CI_BUILDS_DIR" - $CI_BUILDS_DIR/ci/check_for_warnings.py $BUILD_OUTPUT # build all components of the project, i.e. codec itself, the unittests, the prerenderer and the standalone version of the TD object renderer build-codec-linux: extends: .test-job-linux extends: .build-job-with-check-for-warnings rules: - if: $CI_PIPELINE_SOURCE == 'merge_request_event' stage: build script: - bash ci/build_all_linux.sh - make -j 2>&1 | tee $BUILD_OUTPUT build-codec-linux-cmake: extends: .test-job-linux Loading