Loading includes/format-switching.yml 0 → 100644 +56 −0 Original line number Diff line number Diff line format-switching-smoke-test: extends: - .test-job-linux - .rules-merge-request-to-main stage: test needs: ["build-codec-linux-clang-make"] tags: - ivas-linux script: - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-common-info.sh - | if [ "$CI_PROJECT_ID" == "$PROJECT_ID_BASOP" ]; then bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/update-scripts-repo.sh fi - make -j IVAS_dec - python3 -m pytest tests/format_switching/test_format_switching.py --html report.html --self-contained-html --junit-xml report.xml timeout: "20 minutes" artifacts: paths: - report.html - report.xml name: "$CI_JOB_NAME--$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--fmt-sw-smoketest" expose_as: "fmt-sw-smoketest" expire_in: "5 days" format-switching-compare-test: extends: - .test-job-linux - .rules-merge-request-to-main stage: compare needs: ["build-codec-linux-clang-make"] tags: - ivas-linux script: - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-common-info.sh - | if [ "$CI_PROJECT_ID" == "$PROJECT_ID_BASOP" ]; then bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/update-scripts-repo.sh fi - git checkout $CI_MERGE_REQUEST_TARGET_BRANCH_NAME - make -j IVAS_dec - mv IVAS_dec IVAS_dec_ref - git checkout $CI_COMMIT_SHORT_SHA - make clean - make -j IVAS_dec - python3 -m pytest tests/format_switching/test_format_switching.py --create_ref - python3 -m pytest tests/format_switching/test_format_switching.py --html report.html --self-contained-html --junit-xml report.xml --create_cut timeout: "20 minutes" artifacts: paths: - report.html - report.xml name: "$CI_JOB_NAME--$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--fmt-sw-smoketest" expose_as: "fmt-sw-smoketest" expire_in: "5 days" Loading
includes/format-switching.yml 0 → 100644 +56 −0 Original line number Diff line number Diff line format-switching-smoke-test: extends: - .test-job-linux - .rules-merge-request-to-main stage: test needs: ["build-codec-linux-clang-make"] tags: - ivas-linux script: - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-common-info.sh - | if [ "$CI_PROJECT_ID" == "$PROJECT_ID_BASOP" ]; then bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/update-scripts-repo.sh fi - make -j IVAS_dec - python3 -m pytest tests/format_switching/test_format_switching.py --html report.html --self-contained-html --junit-xml report.xml timeout: "20 minutes" artifacts: paths: - report.html - report.xml name: "$CI_JOB_NAME--$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--fmt-sw-smoketest" expose_as: "fmt-sw-smoketest" expire_in: "5 days" format-switching-compare-test: extends: - .test-job-linux - .rules-merge-request-to-main stage: compare needs: ["build-codec-linux-clang-make"] tags: - ivas-linux script: - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-common-info.sh - | if [ "$CI_PROJECT_ID" == "$PROJECT_ID_BASOP" ]; then bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/update-scripts-repo.sh fi - git checkout $CI_MERGE_REQUEST_TARGET_BRANCH_NAME - make -j IVAS_dec - mv IVAS_dec IVAS_dec_ref - git checkout $CI_COMMIT_SHORT_SHA - make clean - make -j IVAS_dec - python3 -m pytest tests/format_switching/test_format_switching.py --create_ref - python3 -m pytest tests/format_switching/test_format_switching.py --html report.html --self-contained-html --junit-xml report.xml --create_cut timeout: "20 minutes" artifacts: paths: - report.html - report.xml name: "$CI_JOB_NAME--$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--fmt-sw-smoketest" expose_as: "fmt-sw-smoketest" expire_in: "5 days"