Loading .gitlab-ci.yml +9 −13 Original line number Diff line number Diff line variables: # note: GitLab cannot reference variables defined by users in the include ref:, we need to use a YAML anchor for this # see https://docs.gitlab.com/ci/yaml/includes/#use-variables-with-include for more information IVAS_CODEC_CI_REF: &IVAS_CODEC_CI_REF main IVAS_CODEC_CI_REF: &IVAS_CODEC_CI_REF kiene/add-snippet-for-getting-basop-build-in-float-repo include: - local: .gitlab-ci/variables.yml Loading Loading @@ -65,16 +65,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 .get-basop-float-reference: &get-basop-float-reference - git clone -b $BASOP_REFERENCE_BRANCH https://forge.3gpp.org/rep/sa4/audio/ivas-basop.git --single-branch --depth 1 ivas-basop - cd ivas-basop - git status - make -j - cd - - cp ivas-basop/IVAS_cod ./ - cp ivas-basop/IVAS_dec ./ - cp ivas-basop/IVAS_rend ./ .merge-request-comparison-setup-codec: &merge-request-comparison-setup-codec ### build test binaries, initial clean for paranoia reasons - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/disable-debugging-macro.sh Loading Loading @@ -243,6 +233,12 @@ branch-is-up-to-date-with-main-post: - .rules-merge-request-to-basop-ci-branch tags: - ivas-linux parallel: matrix: # note: keep in sync with list in $TESTS_DIR_CODEC_BE_ON_MR - BASOP_BRANCH: - main - ivas-float-update before_script: - !reference [.job-linux, before_script] - python3 ci/remove_unsupported_testcases.py scripts/config/self_test.prm scripts/config/self_test_ltv.prm Loading @@ -252,7 +248,7 @@ branch-is-up-to-date-with-main-post: - 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 - *get-basop-float-reference - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/float/build-binaries-from-basop-repo.sh $BASOP_BRANCH # hack for renderer tests to match the expected naming - mv IVAS_rend IVAS_rend_ref Loading Loading @@ -423,7 +419,7 @@ codec-smoke-test: # per default, the smoke test builds the current repo again with WMOPS activated to catch unbalanced instrumentation macros - if [ "$CI_MERGE_REQUEST_TARGET_BRANCH_NAME" = "basop-ci-branch" ]; then - python3 scripts/smoketest-basop-filter.py scripts/config/ivas_modes.json --inline - *get-basop-float-reference - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/float/build-binaries-from-basop-repo.sh ivas-float-update - bash ci/smoke_test.sh coverage - else - bash ci/smoke_test.sh Loading Loading
.gitlab-ci.yml +9 −13 Original line number Diff line number Diff line variables: # note: GitLab cannot reference variables defined by users in the include ref:, we need to use a YAML anchor for this # see https://docs.gitlab.com/ci/yaml/includes/#use-variables-with-include for more information IVAS_CODEC_CI_REF: &IVAS_CODEC_CI_REF main IVAS_CODEC_CI_REF: &IVAS_CODEC_CI_REF kiene/add-snippet-for-getting-basop-build-in-float-repo include: - local: .gitlab-ci/variables.yml Loading Loading @@ -65,16 +65,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 .get-basop-float-reference: &get-basop-float-reference - git clone -b $BASOP_REFERENCE_BRANCH https://forge.3gpp.org/rep/sa4/audio/ivas-basop.git --single-branch --depth 1 ivas-basop - cd ivas-basop - git status - make -j - cd - - cp ivas-basop/IVAS_cod ./ - cp ivas-basop/IVAS_dec ./ - cp ivas-basop/IVAS_rend ./ .merge-request-comparison-setup-codec: &merge-request-comparison-setup-codec ### build test binaries, initial clean for paranoia reasons - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/disable-debugging-macro.sh Loading Loading @@ -243,6 +233,12 @@ branch-is-up-to-date-with-main-post: - .rules-merge-request-to-basop-ci-branch tags: - ivas-linux parallel: matrix: # note: keep in sync with list in $TESTS_DIR_CODEC_BE_ON_MR - BASOP_BRANCH: - main - ivas-float-update before_script: - !reference [.job-linux, before_script] - python3 ci/remove_unsupported_testcases.py scripts/config/self_test.prm scripts/config/self_test_ltv.prm Loading @@ -252,7 +248,7 @@ branch-is-up-to-date-with-main-post: - 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 - *get-basop-float-reference - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/float/build-binaries-from-basop-repo.sh $BASOP_BRANCH # hack for renderer tests to match the expected naming - mv IVAS_rend IVAS_rend_ref Loading Loading @@ -423,7 +419,7 @@ codec-smoke-test: # per default, the smoke test builds the current repo again with WMOPS activated to catch unbalanced instrumentation macros - if [ "$CI_MERGE_REQUEST_TARGET_BRANCH_NAME" = "basop-ci-branch" ]; then - python3 scripts/smoketest-basop-filter.py scripts/config/ivas_modes.json --inline - *get-basop-float-reference - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/float/build-binaries-from-basop-repo.sh ivas-float-update - bash ci/smoke_test.sh coverage - else - bash ci/smoke_test.sh Loading