Commit ab66497e authored by norvell's avatar norvell
Browse files

Adapt to run one job for testing runner speed

parent a584f6ee
Loading
Loading
Loading
Loading
Loading
+13 −10
Original line number Diff line number Diff line
@@ -42,6 +42,7 @@ variables:
  INSTR_DIR: "scripts/c-code_instrument"
  BUILD_WITH_DEBUG_MODE_INFO: ""
  ENCODER_TEST: ""
  RUNNER_TAG: ""
  DELTA_ODG: ""
  COMPARE_DMX: ""
  SKIP_REGRESSION_CHECK: ""
@@ -91,7 +92,7 @@ workflow:
        IVAS_PIPELINE_NAME: 'Web run pipeline: $CI_COMMIT_BRANCH'
    - if: $CI_PIPELINE_SOURCE == 'web' && $MANUAL_PIPELINE_TYPE == 'pytest-compare'
      variables:
        IVAS_PIPELINE_NAME: 'Run comparison tools against float ref: $CI_COMMIT_BRANCH'
        IVAS_PIPELINE_NAME: 'Check runtime on runner $RUNNER_TAG : $CI_COMMIT_BRANCH'
    - if: $CI_PIPELINE_SOURCE == 'web' && $MANUAL_PIPELINE_TYPE == 'pytest-compare-enc-dmx'
      variables:
        IVAS_PIPELINE_NAME: 'Run encoder dmx comparison against float ref: $CI_COMMIT_BRANCH'
@@ -956,7 +957,7 @@ clang-format-check:
# ---------------------------------------------------------------

# ensure that codec builds on linux
build-codec-linux-make:
.build-codec-linux-make:
  rules:
    - if: $CI_PIPELINE_SOURCE == 'web'
    - if: $CI_PIPELINE_SOURCE == 'push' && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
@@ -972,7 +973,7 @@ build-codec-linux-make:
    - make -j

# ensure that codec builds on linux with instrumentation active
build-codec-linux-instrumented-make:
.build-codec-linux-instrumented-make:
  rules:
    - if: $CI_PIPELINE_SOURCE == 'web'
    - if: $CI_PIPELINE_SOURCE == 'push' && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
@@ -989,7 +990,7 @@ build-codec-linux-instrumented-make:
    - bash scripts/prepare_instrumentation.sh -m MEM_ONLY
    - make -j -C $INSTR_DIR

build-codec-linux-debugging-make:
.build-codec-linux-debugging-make:
  rules:
    - if: $CI_PIPELINE_SOURCE == 'web'
    - if: $CI_PIPELINE_SOURCE == 'push' && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
@@ -1210,7 +1211,7 @@ check-regressions-short-dec--10db:
# ---------------------------------------------------------------

### jobs that test fx encoder -> flt decoder
ivas-pytest-compare_to_ref-short-enc:
.ivas-pytest-compare_to_ref-short-enc:
  extends:
    - .rules-pytest-to-ref-short
    - .test-job-linux
@@ -1222,7 +1223,7 @@ ivas-pytest-compare_to_ref-short-enc:
    - LEVEL_SCALING=1.0
  <<: *ivas-pytest-anchor

ivas-pytest-compare_to_ref-short-enc-lev-10:
.ivas-pytest-compare_to_ref-short-enc-lev-10:
  extends:
    - .rules-pytest-to-ref-short
    - .test-job-linux
@@ -1234,7 +1235,7 @@ ivas-pytest-compare_to_ref-short-enc-lev-10:
    - LEVEL_SCALING=0.3162
  <<: *ivas-pytest-anchor

ivas-pytest-compare_to_ref-short-enc-lev+10:
.ivas-pytest-compare_to_ref-short-enc-lev+10:
  extends:
    - .rules-pytest-to-ref-short
    - .test-job-linux
@@ -1324,6 +1325,8 @@ ivas-pytest-compare_to_ref-short-dec:
  extends:
    - .rules-pytest-to-ref-short
    - .test-job-linux
  tags:
    - $RUNNER_TAG        
  before_script:
    - USE_LTV=0
    - DUT_ENCODER_PATH=./$REF_ENCODER_PATH
@@ -1331,7 +1334,7 @@ ivas-pytest-compare_to_ref-short-dec:
    - LEVEL_SCALING=1.0
  <<: *ivas-pytest-anchor
  
ivas-pytest-compare_to_ref-short-dec-lev-10:
.ivas-pytest-compare_to_ref-short-dec-lev-10:
  extends:
    - .rules-pytest-to-ref-short
    - .test-job-linux    
@@ -1342,7 +1345,7 @@ ivas-pytest-compare_to_ref-short-dec-lev-10:
    - LEVEL_SCALING=0.3162
  <<: *ivas-pytest-anchor
  
ivas-pytest-compare_to_ref-short-dec-lev+10:
.ivas-pytest-compare_to_ref-short-dec-lev+10:
  extends:
    - .rules-pytest-to-ref-short
    - .test-job-linux