Commit f4344fb8 authored by Fabian Müller's avatar Fabian Müller
Browse files

Use snippets from ivas-codec-ci

parent f202e606
Loading
Loading
Loading
Loading
+81 −176
Original line number Diff line number Diff line
@@ -71,13 +71,6 @@ workflow:
# These can be used later on to do common tasks

# Prints useful information for every job and should be used at the beginning of each job
.print-common-info: &print-common-info
  - |
    echo "Printing common information for build job."
    echo "Current job is run on commit $CI_COMMIT_SHA"
    echo "Commit time was $CI_COMMIT_TIMESTAMP"
    date | xargs echo "System time is"

.print-common-info-windows: &print-common-info-windows
  - |
    echo "Printing common information for build job."
@@ -85,107 +78,6 @@ workflow:
    echo "Commit time was $CI_COMMIT_TIMESTAMP"
    ("echo 'System time is'", "Get-Date -Format 'dddd dd/MM/yyyy HH:mm K'") | Invoke-Expression

.activate-debug-mode-info-if-set: &activate-debug-mode-info-if-set
  - if [ "$BUILD_WITH_DEBUG_MODE_INFO" = "true" ]; then
  -   sed -i.bak -e "s/\/\*\ *\(#define\ *DEBUGGING\ *\)\*\//\1/g" lib_com/options.h
  -   sed -i.bak -e "s/\/\*\ *\(#define\ *DEBUG_MODE_INFO\ *\)\*\//\1/g" lib_com/options.h
  - fi

.build-float-ref-binaries: &build-float-ref-binaries
  - git rev-parse HEAD > $CUT_COMMIT_FILE
  - current_commit_sha=$(git rev-parse HEAD)
  ### build reference binaries
  - git checkout $FLOAT_REF_BRANCH
  - git pull origin $FLOAT_REF_BRANCH
  - *activate-debug-mode-info-if-set
  - make clean
  - make -j >> /dev/null
  - mv ./IVAS_cod ./$REF_ENCODER_PATH_FOR_BUILD_DO_NOT_MODIFY
  - mv ./IVAS_dec ./$REF_DECODER_PATH_FOR_BUILD_DO_NOT_MODIFY
  - mv ./IVAS_rend ./IVAS_rend_ref
  ### Return to current branch
  - git restore .
  - git rev-parse HEAD > $FLOAT_REF_COMMIT_FILE
  - git checkout $current_commit_sha

.build-merge-target-binaries: &build-merge-target-binaries
  - current_commit_sha=$(git rev-parse HEAD)
  ### build merge target binaries
  - git checkout $CI_MERGE_REQUEST_TARGET_BRANCH_NAME
  - git pull origin $CI_MERGE_REQUEST_TARGET_BRANCH_NAME
  - *activate-debug-mode-info-if-set
  - make clean
  - make -j >> /dev/null
  - mv ./IVAS_cod ./$MERGE_TARGET_ENCODER_PATH_FOR_BUILD_DO_NOT_MODIFY
  - mv ./IVAS_dec ./$MERGE_TARGET_DECODER_PATH_FOR_BUILD_DO_NOT_MODIFY
  - mv ./IVAS_rend ./IVAS_rend_merge_target
  ### Return to current branch
  - git restore .
  - git rev-parse HEAD > $MERGE_TARGET_COMMIT_FILE
  - git checkout $current_commit_sha

.build-float-ref-and-dut-binaries: &build-float-ref-and-dut-binaries
### build reference binaries
  - *build-float-ref-binaries
### build dut binaries
  - *activate-debug-mode-info-if-set
  - make clean
  - make -j >> /dev/null

.build-and-create-float-ref-outputs: &build-and-create-float-ref-outputs
  - *build-float-ref-and-dut-binaries

  ### prepare pytest
  # create short test vectors
  - python3 tests/create_short_testvectors.py
  # create references
  - exit_code=0

  - enc_stats_arg=""
  - if [ "$ENCODER_TEST" = "true" ]; then
  -   enc_stats_arg="--enc_stats"
  - fi

  - enc_dmx_arg=""
  - if [ "$COMPARE_DMX" = "true" ]; then
  -   enc_dmx_arg="--compare_enc_dmx"
  - fi

  - python3 -m pytest $TEST_SUITE -v --update_ref 1 $enc_stats_arg $enc_dmx_arg --create_ref -n auto --ref_encoder_path $REF_ENCODER_PATH --ref_decoder_path $REF_DECODER_PATH --dut_encoder_path $DUT_ENCODER_PATH --dut_decoder_path $DUT_DECODER_PATH || exit_code=$?

.update-scripts-repo: &update-scripts-repo
  - cd $SCRIPTS_DIR
  - sed -i '/fetch/d' .git/config # Remove all fetch lines to clean out dead links
  - git remote set-branches --add origin $BASOP_CI_BRANCH_PC_REPO # Add currently used branch
  - git fetch
  - git restore . # Just as a precaution
  - git checkout $BASOP_CI_BRANCH_PC_REPO
  - git pull origin $BASOP_CI_BRANCH_PC_REPO
  - cd -
  - cp -r $SCRIPTS_DIR/ci .
  - cp -r $SCRIPTS_DIR/scripts .
  - cp -r $SCRIPTS_DIR/tests .
  - cp $SCRIPTS_DIR/pytest.ini .

.apply-testv-scaling: &apply-testv-scaling
  - echo "Applying level scaling in scripts/testv using scale=$LEVEL_SCALING"
  - tests/scale_pcm.py ./scripts/testv/ $LEVEL_SCALING

.update-ltv-repo: &update-ltv-repo
  - cd $LTV_DIR
  - git pull
  - cd -

.get-commits-behind-count: &get-commits-behind-count
  - echo $CI_COMMIT_SHA
  - echo $CI_MERGE_REQUEST_TARGET_BRANCH_NAME
  - commits_behind_count=$(git rev-list --count $CI_COMMIT_SHA..origin/$CI_MERGE_REQUEST_TARGET_BRANCH_NAME)
  
.copy-ltv-files-to-testv-dir: &copy-ltv-files-to-testv-dir
    - cp "$LTV_DIR"/*.wav scripts/testv/
    - cp "$LTV_DIR"/*.met scripts/testv/
    - cp "$LTV_DIR"/*.csv scripts/testv/

.activate-Werror-linux: &activate-Werror-linux
  - sed -i.bak "s/^# \(CFLAGS += -Werror\)/\1/" Makefile

@@ -261,22 +153,18 @@ workflow:
# Job templates
# ---------------------------------------------------------------

# templates to define stages and platforms
.test-job-linux:
  tags:
    - ivas-basop-linux

.build-job-linux:
  stage: build
  timeout: "2 minutes"
# override for centrally defined job to make use of the basop runners
.job-linux:
  tags:
    - ivas-basop-linux

.build-job-windows:
  stage: build
  timeout: "4 minutes"
  tags:
    - ivas-windows
# custom variant of this template, we need to update the scripts repo before every build
.test-job-linux:
  extends:
    - .job-linux
  script:
  - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/update-scripts-repo.sh
  - !reference [.job-linux, before_script]

.print-results-banner: &print-results-banner
  -   set +x
@@ -307,11 +195,11 @@ workflow:
    IMAGES_ARTIFACT_SPLIT: "images_split_$CI_JOB_NAME"
  script:
    - set -euxo pipefail
    - *print-common-info
    - *update-scripts-repo
    - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-common-info.sh
    - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/update-scripts-repo.sh
    - if [ $USE_LTV -eq 1 ]; then
    -    *update-ltv-repo
    -    *copy-ltv-files-to-testv-dir
    -    bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/update-ltv-repo.sh
    -    bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/copy-ltv-files-to-testv-dir.sh
    -    testcase_timeout=$TESTCASE_TIMEOUT_LTV
    - else
    -    testcase_timeout=$TESTCASE_TIMEOUT_STV
@@ -319,12 +207,13 @@ workflow:

    - python3 ci/remove_unsupported_testcases.py $PRM_FILES
    - if [ $LEVEL_SCALING != "1.0" ]; then
    -   *apply-testv-scaling
    -   bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/apply-testv-scaling.sh
    - fi

    - if [ "$COMPARE_DMX" = "true" ] || [ "$ENCODER_TEST" = "true" ]; then
    -   BUILD_WITH_DEBUG_MODE_INFO="true"
    - fi
    - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/build-and-create-float-ref-outputs.sh

    - INV_LEVEL_SCALING=$(awk "BEGIN {print 1.0 / $LEVEL_SCALING}")
    - comp_args="--mld --ssnr --odg --scalefac $INV_LEVEL_SCALING"
@@ -417,8 +306,8 @@ workflow:
        - report-junit.xml

.check-up-to-date-in-comparison-jobs: &check-up-to-date-in-comparison-jobs
    - *get-commits-behind-count
    - |
      commits_behind_count="$(bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/get-commits-behind-count.sh)"
      if [ $commits_behind_count -ne 0 ]; then
        set +x
        echo -e "Your branch is $commits_behind_count commits behind the target branch, possibly main changed during your pipeline run. Checking bitexactness or testing for regressions now can result in meaningless results. Run\n\t git pull origin $CI_MERGE_REQUEST_TARGET_BRANCH_NAME\nto update."
@@ -426,6 +315,8 @@ workflow:
      fi

.check-be-to-target-anchor: &check-be-to-target-anchor
  extends:
    - .job-linux
  stage: check-be
  needs: ["build-codec-linux-make"]
  timeout: "300 minutes"
@@ -434,16 +325,16 @@ workflow:
    HTML_REPORT: "report--$CI_JOB_NAME--sha-$CI_COMMIT_SHORT_SHA.html"
    PYTEST_LOG_TARGET_BRANCH: "pytest-log-$CI_MERGE_REQUEST_TARGET_BRANCH_NAME.txt"
  script:
    - *print-common-info
    - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-common-info.sh

    - set -euxo pipefail

    - *update-scripts-repo
    - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/update-scripts-repo.sh
    - python3 tests/create_short_testvectors.py

    - if [ $USE_LTV -eq 1 ]; then
    -    *update-ltv-repo
    -    *copy-ltv-files-to-testv-dir
    -    bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/update-ltv-repo.sh
    -    bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/copy-ltv-files-to-testv-dir.sh
    -    testcase_timeout=$TESTCASE_TIMEOUT_LTV
    - else
    -    testcase_timeout=$TESTCASE_TIMEOUT_STV
@@ -453,11 +344,11 @@ workflow:
    - python3 scripts/prepare_combined_format_inputs.py

    - if [ $LEVEL_SCALING != "1.0" ];then
    -   *apply-testv-scaling
    -   bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/apply-testv-scaling.sh
    - fi

    - *build-float-ref-binaries
    - *build-merge-target-binaries
    - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/build-binaries.sh float-ref
    - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/build-binaries.sh merge-target
    - make clean
    - make -j >> /dev/null
    - *check-up-to-date-in-comparison-jobs
@@ -537,6 +428,8 @@ workflow:
  - fi

.check-regressions-pytest-anchor: &check-regressions-pytest-anchor
  extends:
    - .job-linux
  stage: test
  timeout: "300 minutes"
  variables:
@@ -549,7 +442,9 @@ workflow:
    IMAGES_ARTIFACT_NAME: "images_$CI_JOB_NAME"
    SUMMARY_HTML_ARTIFACT_NAME: "summary_$CI_JOB_NAME.html"
  script:
    - *print-common-info
    - !reference [ .job-linux, before_script ]

    - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-common-info.sh

    # create empty files for all artifacts to suppress warnings in case of no regressions found or all is BE
    - touch $XML_REPORT_BRANCH $XML_REPORT_MAIN $HTML_REPORT_BRANCH $HTML_REPORT_MAIN $CSV_BRANCH $CSV_MAIN $SUMMARY_HTML_ARTIFACT_NAME $FLOAT_REF_COMMIT_FILE $CUT_COMMIT_FILE $MERGE_TARGET_COMMIT_FILE regressions_crashes.csv regressions_MLD.csv regressions_MAX_ABS_DIFF.csv regressions_MIN_SSNR.csv regressions_MIN_ODG.csv improvements_crashes.csv improvements_MLD.csv improvements_MAX_ABS_DIFF.csv improvements_MIN_SSNR.csv improvements_MIN_ODG.csv
@@ -570,8 +465,8 @@ workflow:
    - *update-scripts-repo

    - if [ $USE_LTV -eq 1 ]; then
    -    *update-ltv-repo
    -    *copy-ltv-files-to-testv-dir
    -    bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/update-ltv-repo.sh
    -    bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/copy-ltv-files-to-testv-dir.sh
    -    testcase_timeout=$TESTCASE_TIMEOUT_LTV
    - else
    -    testcase_timeout=$TESTCASE_TIMEOUT_STV
@@ -579,7 +474,7 @@ workflow:

    - python3 ci/remove_unsupported_testcases.py $PRM_FILES
    - if [ $LEVEL_SCALING != "1.0" ];then
    -   *apply-testv-scaling
    -   bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/apply-testv-scaling.sh
    - fi

    # check MR title for flag that allows regressions to be mergable
@@ -591,7 +486,7 @@ workflow:

    ### run branch first
    # this per default builds the branch and the reference and creates the reference outputs
    - *build-and-create-float-ref-outputs
    - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/build-and-create-float-ref-outputs.sh
    - *check-up-to-date-in-comparison-jobs
    # need to restore cache again
    - *overwrite-pytest-cache-with-artifact
@@ -684,6 +579,8 @@ workflow:


.ivas-pytest-sanitizers-anchor: &ivas-pytest-sanitizers-anchor
  extends:
    - .job-linux
  stage: test
  needs: ["build-codec-linux-make"]
  timeout: "600 minutes"
@@ -695,12 +592,14 @@ workflow:
    - if: $CI_PIPELINE_SOURCE == 'schedule' && $IVAS_PYTEST_MSAN
    - if: $CI_PIPELINE_SOURCE == 'web' && $MANUAL_PIPELINE_TYPE == "sanitizer"
  script:
    - *print-common-info
    - *update-scripts-repo
    - *copy-ltv-files-to-testv-dir
    - !reference [ .job-linux, before_script ]

    - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-common-info.sh
    - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/update-scripts-repo.sh
    - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/copy-ltv-files-to-testv-dir.sh
    - python3 ci/remove_unsupported_testcases.py $PRM_FILES

    - *build-float-ref-binaries
    - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/build-binaries.sh float-ref
    - set -euxo pipefail
    - make_args="CLANG=$CLANG_NUM"
    - if [[ $CLANG_NUM == 3 ]]; then
@@ -728,6 +627,8 @@ workflow:
        - report-junit.xml

.ivas-pytest-compare-to-input-anchor: &ivas-pytest-compare-to-input-anchor
  extends:
    - .job-linux
  stage: test
  needs: ["build-codec-linux-make"]
  timeout: "360 minutes"
@@ -735,11 +636,13 @@ workflow:
    SUMMARY_HTML_ARTIFACT_NAME: "summary_$CI_JOB_NAME.html"
    IMAGES_ARTIFACT_NAME: "images_$CI_JOB_NAME"
  script:
    - *print-common-info
    - *update-scripts-repo
    - !reference [ .job-linux, before_script ]

    - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-common-info.sh
    - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/update-scripts-repo.sh
    - if [ $USE_LTV -eq 1 ]; then
    -    *update-ltv-repo
    -    *copy-ltv-files-to-testv-dir
    -    bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/update-ltv-repo.sh
    -    bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/copy-ltv-files-to-testv-dir.sh
    -    testcase_timeout=$TESTCASE_TIMEOUT_LTV
    - else
    -    testcase_timeout=$TESTCASE_TIMEOUT_STV
@@ -747,9 +650,9 @@ workflow:

    - python3 ci/remove_unsupported_testcases.py $PRM_FILES
    - if [ $LEVEL_SCALING != "1.0" ];then
    -   *apply-testv-scaling
    -   bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/apply-testv-scaling.sh
    - fi
    - *build-float-ref-and-dut-binaries
    - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/build-float-ref-and-dut-binaries.sh

    - INV_LEVEL_SCALING=$(awk "BEGIN {print 1.0 / $LEVEL_SCALING}")
    - comp_args="--mld --ssnr --odg --scalefac $INV_LEVEL_SCALING"
@@ -822,14 +725,15 @@ uninterruptible:

branch-is-up-to-date-with-target-pre:
  extends:
    - .job-linux
    - .rules-merge-request
  stage: prevalidate
  needs: []
  tags:
    - ivas-basop-linux
  script:
    - *get-commits-behind-count
    - |
      commits_behind_count="$(bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/get-commits-behind-count.sh)"
      if [ $commits_behind_count -ne 0 ]; then
        echo -e "Your branch is $commits_behind_count commits behind the target branch, run\n\tgit pull origin $CI_MERGE_REQUEST_TARGET_BRANCH_NAME\nto update."
        exit 1
@@ -837,13 +741,14 @@ branch-is-up-to-date-with-target-pre:

branch-is-up-to-date-with-target-post:
  extends:
    - .job-linux
    - .rules-merge-request
  stage: postvalidate
  tags:
    - ivas-basop-linux
  script:
    - *get-commits-behind-count
    - |
      commits_behind_count="$(bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/get-commits-behind-count.sh)"
      if [ $commits_behind_count -ne 0 ]; then
        echo -e "Your branch is $commits_behind_count commits behind the target branch, possibly main changed during your pipeline run, run\n\tgit pull origin $CI_MERGE_REQUEST_TARGET_BRANCH_NAME\nto update."
        exit 1
@@ -864,7 +769,7 @@ clang-format-check:
  needs: []
  timeout: "5 minutes"
  script:
    - *update-scripts-repo
    - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/update-scripts-repo.sh
    # Set up variables. This can't be done in the "variables" section because variables are not expanded properly there
    - PATCH_FILE_NAME="$ARTIFACT_BASE_NAME".patch
    - >
@@ -918,7 +823,7 @@ build-codec-linux-make:
    - .build-job-linux
  timeout: "10 minutes"
  script:
    - *print-common-info
    - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-common-info.sh
    - *activate-Werror-linux
    - make -j

@@ -935,8 +840,8 @@ build-codec-linux-instrumented-make:
    - .build-job-linux
  timeout: "10 minutes"
  script:
    - *print-common-info
    - *update-scripts-repo
    - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-common-info.sh
    - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/update-scripts-repo.sh
    - bash scripts/prepare_instrumentation.sh -m MEM_ONLY
    - make -j -C $INSTR_DIR

@@ -954,8 +859,8 @@ build-codec-linux-debugging-make:
  variables:
    BUILD_WITH_DEBUG_MODE_INFO: "true"
  script:
    - *print-common-info
    - *activate-debug-mode-info-if-set
    - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-common-info.sh
    - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/activate-debug-mode-info-if-set.sh
    - make -j

build-codec-windows-msbuild:
@@ -1444,14 +1349,14 @@ ivas-smoke-test-saturation:
    - USE_LTV=1
    - LEVEL_SCALING=32768

    - *print-common-info
    - *update-scripts-repo
    - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-common-info.sh
    - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/update-scripts-repo.sh
    - if [ $USE_LTV -eq 1 ]; then
    -    *update-ltv-repo
    -    *copy-ltv-files-to-testv-dir
    -    bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/update-ltv-repo.sh
    -    bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/copy-ltv-files-to-testv-dir.sh
    - fi
    - if [ $LEVEL_SCALING != "1.0" ];then
    -   *apply-testv-scaling
    -   bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/apply-testv-scaling.sh
    - fi
    - cp -r scripts/testv/* $TESTV_DIR/

@@ -1487,11 +1392,11 @@ coverage-test-on-main-scheduled:
  stage: test
  timeout: 3 hours
  script:
    - *print-common-info
    - *update-scripts-repo    
    - *update-ltv-repo
    - *copy-ltv-files-to-testv-dir
    - *build-float-ref-binaries
    - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-common-info.sh
    - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/update-scripts-repo.sh
    - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/update-ltv-repo.sh
    - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/copy-ltv-files-to-testv-dir.sh
    - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/build-binaries.sh float-ref
    # Build DuT binaries with GCOV
    - make clean >> /dev/null
    - make GCOV=1 -j
@@ -1548,8 +1453,8 @@ be-2-evs-26444:
  stage: test
  timeout: "120 minutes" # To be revisited
  script:
    - *print-common-info
    - *update-scripts-repo
    - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-common-info.sh
    - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/update-scripts-repo.sh
    - sed -i".bak" "s/\(#define EVS_FLOAT\)/\/\/\1/" lib_com/options.h
    - make -j  >> /dev/null

@@ -1613,7 +1518,7 @@ voip-be-on-merge-request:
  needs: ["build-codec-linux-make"]
  timeout: "10 minutes"
  script:
    - *print-common-info
    - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-common-info.sh
    - make clean
    - make -j >> /dev/null
    - python3 -m pytest tests/test_be_for_jbm_neutral_dly_profile.py
@@ -1704,10 +1609,10 @@ voip-be-on-merge-request:
    GET_WMOPS_ARGS: "mem_only"
  timeout: 3 hours 30 minutes
  before_script:
    - *print-common-info
    - *update-scripts-repo
    - *update-ltv-repo
    - *build-float-ref-and-dut-binaries
    - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-common-info.sh
    - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/update-scripts-repo.sh
    - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/update-ltv-repo.sh
    - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/build-float-ref-and-dut-binaries.sh
    - *complexity-measurements-setup
    # delete previous jobs logfiles if present (-f flag ensures return calue of 0 even in first run where this folder is not present)
    - rm -rf COMPLEXITY/logs
@@ -2085,8 +1990,8 @@ pages:
  rules:
    - if: $UPDATE_PAGES
  script:
    - *print-common-info
    - *update-scripts-repo
    - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-common-info.sh
    - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/update-scripts-repo.sh
    - python3 ci/setup_pages.py
    - ls
    - ls -lh public