Commit fa6b79ff authored by Jan Kiene's avatar Jan Kiene
Browse files

add tet job for complexity measurement

parent 462b1a39
Loading
Loading
Loading
Loading
Loading
+32 −1
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@ variables:
  TESTCASE_TIMEOUT_LTV: 2400
  TESTCASE_TIMEOUT_STV_SANITIZERS: 1800
  GIT_CLEAN_FLAGS: -ffdxq
  MAKE_OPTIONS: ""
  MANUAL_PIPELINE_TYPE:
    description: "Type for the manual pipeline run. Use 'pytest-mld' to run MLD test against reference float codec." # Not implemented yet, but may be good to have a manual pipeline trigger
    value: 'default'
@@ -109,7 +110,7 @@ stages:
  ### build test binaries
  - git checkout $current_commit_sha
  - make clean
  - make -j
  - make -j "$MAKE_OPTIONS"


.mld-test-setup-codec: &mld-test-setup-codec
@@ -693,6 +694,36 @@ ivas-pytest-renderer:
  <<: *ivas-pytest-anchor


### Complexity measurement jobs

# NOTE: test job for now
complexity-stereo-dec:
  extends:
    - .test-job-linux
  rules:
    - if: $CI_PIPELINE_SOURCE == 'web' && $MANUAL_PIPELINE_TYPE == "complexity"
  variables:
    - MAKE_OPTIONS: "WMOPS=1"
    - COMPLEXITY_TABLES: "complexity_stereo.csv"
    - CHECK: "COMPLEXITY"
  script:
    - *print-common-info
    - *update-scripts-repo
    - *setup-codec

    # hack to not have script build the binaries
    - mkdir $CHECK
    - cp IVAS_cod_ref $CHECK/IVAS_cod
    - cp IVAS_dec $CHECK/IVAS_dec

    - python3 scripts/IvasBuildAndRunChecks.py -p scripts/config/ci_linux_ltv.json -m stereo_b48_fb_cbr --oc stereo --create_complexity_tables $COMPLEXITY_TABLES --checks $CHECK
    - ls
  artifacts:
    when: always
    paths:
    - $COMPLEXITY_TABLES


# job that sets up gitlab pages website
pages:
  stage: deploy