Commit 1708c9a9 authored by Jan Kiene's avatar Jan Kiene
Browse files

build reference from tag

parent 6b40649f
Loading
Loading
Loading
Loading
Loading
+10 −6
Original line number Diff line number Diff line
variables:
  REFERENCE_DIR: "/usr/local/reference"
  REFERENCE_TAG: "20231128_Update_Ittiam"
  BUILD_OUTPUT: "build_output.txt"
  SCRIPTS_DIR: "/usr/local/scripts"
  EXIT_CODE_NON_BE: 123
@@ -36,13 +36,17 @@ stages:
    date | xargs echo "System time is"

.mld-test-setup-codec: &mld-test-setup-codec 
  ### build test binaries
  - make -j
  - current_commit_sha=$(git rev-parse HEAD)

  ### build reference binaries
  - make -j -C $REFERENCE_DIR
  - mv $REFERENCE_DIR/IVAS_cod ./IVAS_cod_ref
  - mv $REFERENCE_DIR/IVAS_dec ./IVAS_dec_ref
  - git checkout $REFERENCE_TAG
  - make -j
  - mv ./IVAS_cod ./IVAS_cod_ref
  - mv ./IVAS_dec ./IVAS_dec_ref

  ### build test binaries
  - git checkout $current_commit_sha
  - make -j

  ### prepare pytest
  # create short test vectors