Commit 11216a4e authored by norvell's avatar norvell
Browse files

Add LTV_DIR_WIN

parent 4dd5955c
Loading
Loading
Loading
Loading
Loading
+14 −1
Original line number Diff line number Diff line
variables:
  TESTV_DIR: "/usr/local/testv"
  LTV_DIR: "/usr/local/ltv"
  LTV_DIR_WIN: "c:\ltv" # Typically overwritten in config.toml: environment = ["LTV_DIR_WIN=C:\local_ltv_dir"]
  BUILD_OUTPUT: "build_output.txt"
  EVS_BE_TEST_DIR: "/usr/local/be_2_evs_test"
  EVS_BE_WIN_TEST_DIR: "C:/Users/gitlab-runner/testvec"
@@ -167,6 +168,11 @@ stages:
  - git pull
  - cd -

.update-ltv-repo-win: &update-ltv-repo-win
  - cd $LTV_DIR_WIN
  - git pull
  - cd -

.enable-split-rendering: &enable-split-rendering
# automatically enable #define SPLIT_REND_WITH_HEAD_ROT in options.h, handling both /**/-comment and //-comment
  - sed -i.bak -e "s/\/\*[[:space:]]*\(#define[[:space:]]*SPLIT_REND_WITH_HEAD_ROT\)[[:space:]]*\*\//\1/g" ./lib_com/options.h
@@ -189,6 +195,11 @@ stages:
    - cp "$LTV_DIR"/*.met scripts/testv/
    - cp "$LTV_DIR"/*.csv scripts/testv/

.copy-ltv-files-to-testv-dir-win: &copy-ltv-files-to-testv-dir-win
    - cp "$LTV_DIR_WIN"/*.wav scripts/testv/
    - cp "$LTV_DIR_WIN"/*.met scripts/testv/
    - cp "$LTV_DIR_WIN"/*.csv scripts/testv/

.activate-Werror-linux: &activate-Werror-linux
  - sed -i.bak "s/^# \(CFLAGS += -Werror\)/\1/" Makefile
  - sed -i.bak "s/# \(set(CMAKE_C_FLAGS \"\${CMAKE_C_FLAGS} -Werror\")\)/\1/" CMakeLists.txt
@@ -1346,7 +1357,7 @@ test-be-to-release:

ivas-conformance:
  tags:
    - ivas-windows
    - ericsson-windows-runner
  stage: test
  timeout: "90 minutes"
  rules:
@@ -1357,6 +1368,8 @@ ivas-conformance:
      - 123
  script:
    - *print-common-info-windows
    - *update-ltv-repo-win
    - *copy-ltv-files-to-testv-dir-win    
    - python .\scripts\strip_split_rendering.py
    - MSBuild.exe -maxcpucount .\Workspace_msvc\Workspace_msvc.sln /property:Configuration=Debug    
    - cp -force IVAS_cod.exe IVAS_cod_ref.exe