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

move more functionality into the template

parent 5c35bf5f
Loading
Loading
Loading
Loading
Loading
+12 −13
Original line number Diff line number Diff line
@@ -743,35 +743,34 @@ ivas-pytest-renderer:
    - .test-job-linux
  timeout: 3 hours 30 minutes
  stage: test
  artifacts:
    name: "$CI_JOB_NAME--$CI_COMMIT_REF_NAME--sha-$CI_COMMIT_SHA"
    when: always
    expire_in: 1 week
    paths:
      - $CI_JOB_NAME-public

complexity-stereo-in-stereo-out:
  extends:
    - .complexity-template
  rules:
    - if: $MEASURE_COMPLEXITY_LINUX
  variables:
    MAKE_OPTIONS: "WMOPS=1"
  script:
    ret_val: 0
  before_script:
    - *print-common-info
    - *update-scripts-repo
    - *update-ltv-repo
    - *setup-codec
    - *complexity-measurements-setup

    # hack to not have script build the binaries
    - mkdir COMPLEXITY
    - cp IVAS_cod COMPLEXITY/IVAS_cod
    - cp IVAS_dec COMPLEXITY/IVAS_dec
  artifacts:
    name: "$CI_JOB_NAME--$CI_COMMIT_REF_NAME--sha-$CI_COMMIT_SHA"
    when: always
    expire_in: 1 week
    paths:
      - $CI_JOB_NAME-public

complexity-stereo-in-stereo-out:
  extends:
    - .complexity-template
  script:
    - in_format=stereo
    - out_format=stereo
    - ret_val=0
    - bash ci/complexity_measurements/getWmops.sh "$in_format" "$out_format" || ret_val=$?
    - *complexity-measurements-prepare-artifacts
    - exit $ret_val