Loading .gitlab-ci.yml +30 −4 Original line number Diff line number Diff line Loading @@ -1182,6 +1182,32 @@ codec-comparison-on-main-push: echo "Commit time was $CI_COMMIT_TIMESTAMP" date | xargs echo "System time is" .comparison-setup-codec-ref-vs-cut: &comparison-setup-codec-ref-vs-cut - git checkout $REF_COMMIT - mkdir build - cd build - cmake .. - make -j - mv IVAS_cod ../IVAS_cod_ref - mv IVAS_dec ../IVAS_dec_ref - mv IVAS_rend ../IVAS_rend_ref - cd .. - rm -rf build/* - git checkout $CUT_COMMIT - cd build - cmake .. - make -j - mv IVAS_cod ../IVAS_cod - mv IVAS_dec ../IVAS_dec - mv IVAS_rend ../IVAS_rend - cd .. - rm -rf build/* # use scripts and tests from $CI_COMMIT_SHA - git checkout $CI_COMMIT_SHA .rules-compare-commits: rules: - if: $CI_PIPELINE_SOURCE == 'web' && $MANUAL_PIPELINE_TYPE == 'compare-ref-vs-cut' && $REF_COMMIT && $CUT_COMMIT Loading @@ -1204,9 +1230,6 @@ build-codec-linux-make-ref-vs-cut: - make -j 2>&1 | tee $BUILD_OUTPUT - ci/check_for_warnings.py $BUILD_OUTPUT || exit $? # use scripts and tests from $CI_COMMIT_SHA - git checkout $CI_COMMIT_SHA # compare bit exactness between target and source branch ivas-pytest-ref-vs-cut: extends: Loading @@ -1217,6 +1240,7 @@ ivas-pytest-ref-vs-cut: timeout: "10 minutes" script: - *print-common-info-ref-vs-cut - *comparison-setup-codec-ref-vs-cut # set non-be flag - non_be_flag=1 Loading Loading @@ -1261,6 +1285,7 @@ renderer-pytest-ref-vs-cut: stage: compare script: - *print-common-info-ref-vs-cut - *comparison-setup-codec-ref-vs-cut # set non-be flag - non_be_flag=1 Loading Loading @@ -1296,6 +1321,7 @@ evs-pytest-cut: timeout: "10 minutes" script: - *print-common-info-ref-vs-cut - *comparison-setup-codec-ref-vs-cut # non-be flag to 0 - non_be_flag=0 Loading Loading @@ -1364,7 +1390,7 @@ split-rendering-pytest-ref-vs-cut: - make -j INCLUDE_SPLIT=1 ### Run test using scripts and input from $CI_COMMIT_SHA - git restore lib_com/options.h; fi # Revert changes back before checking out another branch to avoid conflicts - git restore lib_com/options.h # Revert changes back before checking out another branch to avoid conflicts - git checkout $CI_COMMIT_SHA # run test Loading Loading
.gitlab-ci.yml +30 −4 Original line number Diff line number Diff line Loading @@ -1182,6 +1182,32 @@ codec-comparison-on-main-push: echo "Commit time was $CI_COMMIT_TIMESTAMP" date | xargs echo "System time is" .comparison-setup-codec-ref-vs-cut: &comparison-setup-codec-ref-vs-cut - git checkout $REF_COMMIT - mkdir build - cd build - cmake .. - make -j - mv IVAS_cod ../IVAS_cod_ref - mv IVAS_dec ../IVAS_dec_ref - mv IVAS_rend ../IVAS_rend_ref - cd .. - rm -rf build/* - git checkout $CUT_COMMIT - cd build - cmake .. - make -j - mv IVAS_cod ../IVAS_cod - mv IVAS_dec ../IVAS_dec - mv IVAS_rend ../IVAS_rend - cd .. - rm -rf build/* # use scripts and tests from $CI_COMMIT_SHA - git checkout $CI_COMMIT_SHA .rules-compare-commits: rules: - if: $CI_PIPELINE_SOURCE == 'web' && $MANUAL_PIPELINE_TYPE == 'compare-ref-vs-cut' && $REF_COMMIT && $CUT_COMMIT Loading @@ -1204,9 +1230,6 @@ build-codec-linux-make-ref-vs-cut: - make -j 2>&1 | tee $BUILD_OUTPUT - ci/check_for_warnings.py $BUILD_OUTPUT || exit $? # use scripts and tests from $CI_COMMIT_SHA - git checkout $CI_COMMIT_SHA # compare bit exactness between target and source branch ivas-pytest-ref-vs-cut: extends: Loading @@ -1217,6 +1240,7 @@ ivas-pytest-ref-vs-cut: timeout: "10 minutes" script: - *print-common-info-ref-vs-cut - *comparison-setup-codec-ref-vs-cut # set non-be flag - non_be_flag=1 Loading Loading @@ -1261,6 +1285,7 @@ renderer-pytest-ref-vs-cut: stage: compare script: - *print-common-info-ref-vs-cut - *comparison-setup-codec-ref-vs-cut # set non-be flag - non_be_flag=1 Loading Loading @@ -1296,6 +1321,7 @@ evs-pytest-cut: timeout: "10 minutes" script: - *print-common-info-ref-vs-cut - *comparison-setup-codec-ref-vs-cut # non-be flag to 0 - non_be_flag=0 Loading Loading @@ -1364,7 +1390,7 @@ split-rendering-pytest-ref-vs-cut: - make -j INCLUDE_SPLIT=1 ### Run test using scripts and input from $CI_COMMIT_SHA - git restore lib_com/options.h; fi # Revert changes back before checking out another branch to avoid conflicts - git restore lib_com/options.h # Revert changes back before checking out another branch to avoid conflicts - git checkout $CI_COMMIT_SHA # run test Loading