Commit 3532c81c authored by Jan Kiene's avatar Jan Kiene
Browse files

Update .gitlab-ci.yml file

parent 5c2ae78a
Loading
Loading
Loading
Loading
Loading
+12 −8
Original line number Diff line number Diff line
@@ -53,7 +53,8 @@ build-codec-linux-make:
    - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
  script:
    - make -j 2>&1 | tee $BUILD_OUTPUT
    - python3 ci/check_for_warnings.py $BUILD_OUTPUT #|| exit $?
    # need to use the "|| exit $?" suffix to get the allowed_failure return code, otherwise the job fails with code 1...<
    - ci/check_for_warnings.py $BUILD_OUTPUT || exit $?

build-unittests-linux:
  extends: .build-job-with-check-for-warnings
@@ -61,7 +62,8 @@ build-unittests-linux:
    - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
  script:
    - make unittests -j 2>&1 | tee $BUILD_OUTPUT
    - ci/check_for_warnings.py $BUILD_OUTPUT
    # need to use the "|| exit $?" suffix to get the allowed_failure return code, otherwise the job fails with code 1...<
    - ci/check_for_warnings.py $BUILD_OUTPUT || exit $?

build-prerenderer-linux:
  extends: .build-job-with-check-for-warnings
@@ -69,7 +71,8 @@ build-prerenderer-linux:
    - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
  script:
    - make -C scripts/prerenderer -j 2>&1 | tee $BUILD_OUTPUT
    - ci/check_for_warnings.py $BUILD_OUTPUT
    # need to use the "|| exit $?" suffix to get the allowed_failure return code, otherwise the job fails with code 1...<
    - ci/check_for_warnings.py $BUILD_OUTPUT || exit $?

build-td-object-renderer-standalone-linux:
  extends: .build-job-with-check-for-warnings
@@ -77,7 +80,8 @@ build-td-object-renderer-standalone-linux:
    - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
  script:
    - make -C scripts/td_object_renderer/object_renderer_standalone -j 2>&1 | tee $BUILD_OUTPUT
    - ci/check_for_warnings.py $BUILD_OUTPUT
    # need to use the "|| exit $?" suffix to get the allowed_failure return code, otherwise the job fails with code 1...<
    - ci/check_for_warnings.py $BUILD_OUTPUT || exit $?

build-codec-linux-cmake:
  extends: .build-job-with-check-for-warnings
@@ -92,7 +96,7 @@ build-codec-linux-cmake:
    - make -C build -j 2>&1 | tee $BUILD_OUTPUT
    - ci/check_for_warnings.py $BUILD_OUTPUT

.build-codec-instrumented-linux:
build-codec-instrumented-linux:
  extends: .test-job-linux
  rules:
    - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
@@ -101,7 +105,7 @@ build-codec-linux-cmake:
    - bash ci/build_codec_instrumented_linux.sh

# make sure that the codec builds with msan, asan and usan
.build-codec-sanitizers-linux:
build-codec-sanitizers-linux:
  extends: .test-job-linux
  rules:
    - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
@@ -111,7 +115,7 @@ build-codec-linux-cmake:


# test that runs all modes with 1s input signals
.codec-smoke-test:
codec-smoke-test:
  extends: .test-job-linux-needs-testv-dir
  # temporarily restrict this job to the only runner which (so far) seems to runit without problems
  tags:
@@ -131,7 +135,7 @@ build-codec-linux-cmake:


# compare bit exactness between target and source branch
.self-test-on-merge-request:
self-test-on-merge-request:
  extends: .test-job-linux
  stage: compare
  needs: [ "build-codec-linux-cmake", "codec-smoke-test" ]