Loading .gitlab-ci.yml +32 −4 Original line number Diff line number Diff line Loading @@ -23,9 +23,11 @@ variables: - 'test-long-self-test' - 'ivas-conformance' - 'ivas-conformance-linux' - 'check-float-reference' GIT_CLEAN_FLAGS: -ffdxq TESTCASE_TIMEOUT_STV_SANITIZERS: 180 TESTCASE_TIMEOUT_LTV_SANITIZERS: 1200 BASOP_REFERENCE_BRANCH: "ivas-float-update" default: Loading Loading @@ -63,6 +65,10 @@ workflow: - if: $CI_PIPELINE_SOURCE == 'web' && $MANUAL_PIPELINE_TYPE == 'ivas-conformance-linux' variables: IVAS_PIPELINE_NAME: 'Draft IVAS Conformance test -- Linux: $CI_COMMIT_BRANCH' - if: $CI_PIPELINE_SOURCE == 'trigger' - if: $CI_PIPELINE_SOURCE == 'web' && $MANUAL_PIPELINE_TYPE == 'check-float-reference' variables: IVAS_PIPELINE_NAME: 'check-float-reference: $CI_COMMIT_BRANCH' stages: Loading Loading @@ -257,6 +263,8 @@ stages: when: never - if: $MANUAL_PIPELINE_TYPE == 'ivas-conformance-linux' when: never - if: $MANUAL_PIPELINE_TYPE == 'check-float-reference' when: never - when: on_success .rules-merge-request: Loading Loading @@ -417,21 +425,41 @@ check-compatibility-with-basop-reference-branch: - tests/**/* - scripts/**/* - ci/**/* - if: ($CI_PIPELINE_SOURCE == 'web' || $CI_PIPELINE_SOURCE == 'trigger') && $MANUAL_PIPELINE_TYPE == 'check-float-reference' - if: $CI_PIPELINE_SOURCE == 'push' when: never tags: - ivas-linux-fast variables: TEST_SUITE: "tests/codec_be_on_mr_nonselection tests/renderer --param_file scripts/config/self_test_ltv.prm" TEST_SUITE: "tests/codec_be_on_mr_nonselection tests/renderer" script: - git clone -b ivas-float-update https://forge.3gpp.org/rep/sa4/audio/ivas-basop.git --single-branch - git clone -b $BASOP_REFERENCE_BRANCH https://forge.3gpp.org/rep/sa4/audio/ivas-basop.git --single-branch - make -j -C ivas-basop - cp ivas-basop/IVAS_cod ./IVAS_cod_ref - cp ivas-basop/IVAS_dec ./IVAS_dec_ref - python3 ci/remove_unsupported_testcases.py scripts/config/self_test.prm - python3 tests/create_short_testvectors.py - python3 -m pytest $TEST_SUITE -v --update_ref 1 -m create_ref --create_ref -n auto - python3 -m pytest $TEST_SUITE -v --update_ref 1 -m create_ref_part2 -n auto - exit_code1=0 - exit_code2=0 - python3 -m pytest tests/codec_be_on_mr_nonselection -v --update_ref 1 -m create_ref --html=report1.html --self-contained-html --junit-xml=report-junit1.xml || exit_code1=$? - python3 -m pytest tests/codec_be_on_mr_nonselection -v --update_ref 1 -m create_ref_part2 --html=report2.html --self-contained-html --junit-xml=report-junit2.xml || exit_code2=$? - zero_errors=$(cat report-junit1.xml report-junit2.xml | grep -c 'errors="0"') || true - if [ $zero_errors != 1 ]; then echo "Run errors encountered!"; exit $EXIT_CODE_FAIL; fi - exit 0 artifacts: name: "check-float-reference--sha-$CI_COMMIT_SHORT_SHA--results" when: always expire_in: 1 month paths: - report-junit1.xml - report-junit2.xml - report1.html - report2.html expose_as: "check-float-reference results" reports: junit: - report-junit1.xml - report-junit2.xml # --------------------------------------------------------------- # Build jobs Loading Loading
.gitlab-ci.yml +32 −4 Original line number Diff line number Diff line Loading @@ -23,9 +23,11 @@ variables: - 'test-long-self-test' - 'ivas-conformance' - 'ivas-conformance-linux' - 'check-float-reference' GIT_CLEAN_FLAGS: -ffdxq TESTCASE_TIMEOUT_STV_SANITIZERS: 180 TESTCASE_TIMEOUT_LTV_SANITIZERS: 1200 BASOP_REFERENCE_BRANCH: "ivas-float-update" default: Loading Loading @@ -63,6 +65,10 @@ workflow: - if: $CI_PIPELINE_SOURCE == 'web' && $MANUAL_PIPELINE_TYPE == 'ivas-conformance-linux' variables: IVAS_PIPELINE_NAME: 'Draft IVAS Conformance test -- Linux: $CI_COMMIT_BRANCH' - if: $CI_PIPELINE_SOURCE == 'trigger' - if: $CI_PIPELINE_SOURCE == 'web' && $MANUAL_PIPELINE_TYPE == 'check-float-reference' variables: IVAS_PIPELINE_NAME: 'check-float-reference: $CI_COMMIT_BRANCH' stages: Loading Loading @@ -257,6 +263,8 @@ stages: when: never - if: $MANUAL_PIPELINE_TYPE == 'ivas-conformance-linux' when: never - if: $MANUAL_PIPELINE_TYPE == 'check-float-reference' when: never - when: on_success .rules-merge-request: Loading Loading @@ -417,21 +425,41 @@ check-compatibility-with-basop-reference-branch: - tests/**/* - scripts/**/* - ci/**/* - if: ($CI_PIPELINE_SOURCE == 'web' || $CI_PIPELINE_SOURCE == 'trigger') && $MANUAL_PIPELINE_TYPE == 'check-float-reference' - if: $CI_PIPELINE_SOURCE == 'push' when: never tags: - ivas-linux-fast variables: TEST_SUITE: "tests/codec_be_on_mr_nonselection tests/renderer --param_file scripts/config/self_test_ltv.prm" TEST_SUITE: "tests/codec_be_on_mr_nonselection tests/renderer" script: - git clone -b ivas-float-update https://forge.3gpp.org/rep/sa4/audio/ivas-basop.git --single-branch - git clone -b $BASOP_REFERENCE_BRANCH https://forge.3gpp.org/rep/sa4/audio/ivas-basop.git --single-branch - make -j -C ivas-basop - cp ivas-basop/IVAS_cod ./IVAS_cod_ref - cp ivas-basop/IVAS_dec ./IVAS_dec_ref - python3 ci/remove_unsupported_testcases.py scripts/config/self_test.prm - python3 tests/create_short_testvectors.py - python3 -m pytest $TEST_SUITE -v --update_ref 1 -m create_ref --create_ref -n auto - python3 -m pytest $TEST_SUITE -v --update_ref 1 -m create_ref_part2 -n auto - exit_code1=0 - exit_code2=0 - python3 -m pytest tests/codec_be_on_mr_nonselection -v --update_ref 1 -m create_ref --html=report1.html --self-contained-html --junit-xml=report-junit1.xml || exit_code1=$? - python3 -m pytest tests/codec_be_on_mr_nonselection -v --update_ref 1 -m create_ref_part2 --html=report2.html --self-contained-html --junit-xml=report-junit2.xml || exit_code2=$? - zero_errors=$(cat report-junit1.xml report-junit2.xml | grep -c 'errors="0"') || true - if [ $zero_errors != 1 ]; then echo "Run errors encountered!"; exit $EXIT_CODE_FAIL; fi - exit 0 artifacts: name: "check-float-reference--sha-$CI_COMMIT_SHORT_SHA--results" when: always expire_in: 1 month paths: - report-junit1.xml - report-junit2.xml - report1.html - report2.html expose_as: "check-float-reference results" reports: junit: - report-junit1.xml - report-junit2.xml # --------------------------------------------------------------- # Build jobs Loading