Loading .gitlab-ci.yml +43 −0 Original line number Diff line number Diff line Loading @@ -26,6 +26,7 @@ variables: - 'check-float-reference' - 'check-clipping' - 'test-branch-vs-input-passthrough' - 'peaq-binaural' GIT_CLEAN_FLAGS: -ffdxq TESTCASE_TIMEOUT_STV_SANITIZERS: 180 Loading Loading @@ -79,6 +80,9 @@ workflow: - if: $CI_PIPELINE_SOURCE == 'web' && $MANUAL_PIPELINE_TYPE == 'test-branch-vs-input-passthrough' variables: IVAS_PIPELINE_NAME: 'Pass-through comparison vs input: $CI_COMMIT_BRANCH' - if: $CI_PIPELINE_SOURCE == 'web' && $MANUAL_PIPELINE_TYPE == 'peaq-binaural' variables: IVAS_PIPELINE_NAME: 'PEAQ comparison vs input on binauralized or mono signal: $CI_COMMIT_BRANCH' stages: - .pre Loading Loading @@ -280,8 +284,11 @@ stages: - if: $MANUAL_PIPELINE_TYPE == 'check-float-reference' when: never - if: $MANUAL_PIPELINE_TYPE == 'check-clipping' when: never - if: $MANUAL_PIPELINE_TYPE == 'test-branch-vs-input-passthrough' when: never - if: $MANUAL_PIPELINE_TYPE == 'peaq-binaural' when: never - when: on_success .rules-merge-request: Loading Loading @@ -1722,6 +1729,42 @@ test-branch-vs-input-passthrough: - report-junit.xml peaq-binaural: tags: - ivas-linux stage: compare timeout: "30 minutes" # TBD rules: - if: $CI_PIPELINE_SOURCE == 'web' && $MANUAL_PIPELINE_TYPE == 'peaq-binaural' allow_failure: exit_codes: - 123 script: - *print-common-info - make -j - exit_code=0 - python3 -m pytest $TESTS_DIR_CODEC_BE_ON_MR -v --html=report.html --self-contained-html --junit-xml=report-junit.xml --peaq-binaural --odg || exit_code=$? - zero_errors=$(cat report-junit.xml | grep -c 'errors="0"') || true - python3 scripts/parse_xml_report.py report-junit.xml report.csv - if [ $zero_errors != 1 ]; then echo "Run errors encountered!"; exit $EXIT_CODE_FAIL; fi - if [ $exit_code -eq 1 ]; then echo "Differences encountered."; exit $EXIT_CODE_NON_BE; fi - exit 0 artifacts: name: "peaq-binaural--sha-$CI_COMMIT_SHORT_SHA--results" when: always expire_in: 4 mos paths: - report-junit.xml - report.html - report.csv expose_as: "peaq-binaural results" reports: junit: - report-junit.xml # --------------------------------------------------------------- # Scheduled jobs on main # --------------------------------------------------------------- Loading Loading
.gitlab-ci.yml +43 −0 Original line number Diff line number Diff line Loading @@ -26,6 +26,7 @@ variables: - 'check-float-reference' - 'check-clipping' - 'test-branch-vs-input-passthrough' - 'peaq-binaural' GIT_CLEAN_FLAGS: -ffdxq TESTCASE_TIMEOUT_STV_SANITIZERS: 180 Loading Loading @@ -79,6 +80,9 @@ workflow: - if: $CI_PIPELINE_SOURCE == 'web' && $MANUAL_PIPELINE_TYPE == 'test-branch-vs-input-passthrough' variables: IVAS_PIPELINE_NAME: 'Pass-through comparison vs input: $CI_COMMIT_BRANCH' - if: $CI_PIPELINE_SOURCE == 'web' && $MANUAL_PIPELINE_TYPE == 'peaq-binaural' variables: IVAS_PIPELINE_NAME: 'PEAQ comparison vs input on binauralized or mono signal: $CI_COMMIT_BRANCH' stages: - .pre Loading Loading @@ -280,8 +284,11 @@ stages: - if: $MANUAL_PIPELINE_TYPE == 'check-float-reference' when: never - if: $MANUAL_PIPELINE_TYPE == 'check-clipping' when: never - if: $MANUAL_PIPELINE_TYPE == 'test-branch-vs-input-passthrough' when: never - if: $MANUAL_PIPELINE_TYPE == 'peaq-binaural' when: never - when: on_success .rules-merge-request: Loading Loading @@ -1722,6 +1729,42 @@ test-branch-vs-input-passthrough: - report-junit.xml peaq-binaural: tags: - ivas-linux stage: compare timeout: "30 minutes" # TBD rules: - if: $CI_PIPELINE_SOURCE == 'web' && $MANUAL_PIPELINE_TYPE == 'peaq-binaural' allow_failure: exit_codes: - 123 script: - *print-common-info - make -j - exit_code=0 - python3 -m pytest $TESTS_DIR_CODEC_BE_ON_MR -v --html=report.html --self-contained-html --junit-xml=report-junit.xml --peaq-binaural --odg || exit_code=$? - zero_errors=$(cat report-junit.xml | grep -c 'errors="0"') || true - python3 scripts/parse_xml_report.py report-junit.xml report.csv - if [ $zero_errors != 1 ]; then echo "Run errors encountered!"; exit $EXIT_CODE_FAIL; fi - if [ $exit_code -eq 1 ]; then echo "Differences encountered."; exit $EXIT_CODE_NON_BE; fi - exit 0 artifacts: name: "peaq-binaural--sha-$CI_COMMIT_SHORT_SHA--results" when: always expire_in: 4 mos paths: - report-junit.xml - report.html - report.csv expose_as: "peaq-binaural results" reports: junit: - report-junit.xml # --------------------------------------------------------------- # Scheduled jobs on main # --------------------------------------------------------------- Loading