Commit 714170ea authored by Jan Kiene's avatar Jan Kiene
Browse files

add evs be test job for float

needs runner setup b4 being usable
parent 5730e088
Loading
Loading
Loading
Loading
+30 −1
Original line number Diff line number Diff line
variables:
  TESTV_DIR: "/usr/local/testv"
  LTV_DIR: "/usr/local/ltv"
  EVS_BE_TEST_DIR_FLOAT: "/usr/local/be_2_evs_test"
  EVS_BE_TEST_DIR_BASOP: "/usr/local/be_2_evs_basop"
  REFERENCE_BRANCH: "ivas-float-update"
  BUILD_OUTPUT: "build_output.txt"
@@ -894,6 +895,32 @@ check-bitexactness-hrtf-rom-and-file:
    expose_as: "logs-hrtf-loading"
    expire_in: "5 days"

# from float
# TODO: this needs setup/addition of tag on runners
.be-2-evs-linux:
  extends:
    - .test-job-linux
    - .rules-merge-request-to-float-pc
  tags:
    - be-2-evs-float
  stage: test
  needs: ["build-codec-linux-make"]
  timeout: "20 minutes" # To be revisited
  script:
    - *print-common-info
    - *update-scripts-repo

    - make clean
    - make -j

    # copy over to never change the testvector dir
    - cp -r $EVS_BE_TEST_DIR_FLOAT ./evs_be_test
    - cp build/IVAS_cod ./evs_be_test/bin/EVS_cod
    - cp build/IVAS_dec ./evs_be_test/bin/EVS_dec

    - cd evs_be_test
    - python3 ../ci/run_evs_be_test.py

# ---------------------------------------------------------------
# Build jobs
# ---------------------------------------------------------------
@@ -1356,7 +1383,7 @@ be-2-evs-26444:
    - .test-job-linux
  rules:
    - if: $CI_PIPELINE_SOURCE == 'web' && $MANUAL_PIPELINE_TYPE == "evs-26444"
    - if: $CI_PIPELINE_SOURCE == 'merge_request_event' && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "main"
    - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
  tags:
    - be-2-evs-basop
  stage: test
@@ -1364,7 +1391,9 @@ be-2-evs-26444:
  script:
    - *print-common-info
    - *update-scripts-repo
    # needed on BASOP branches only. On ivas-flaot-update + derivates this does nothing as the replaced string does not exist in options.h
    - sed -i".bak" "s/\(#define EVS_FLOAT\)/\/\/\1/" lib_com/options.h
    - make clean
    - make -j

    # copy over to never change the testvector dir