Commit 0adf96d7 authored by sagnowski's avatar sagnowski
Browse files

Add CI job for 5ms framing

parent c1eb02d6
Loading
Loading
Loading
Loading
+42 −0
Original line number Diff line number Diff line
@@ -368,6 +368,48 @@ renderer-msan:
        - report-junit.xml


renderer-5ms-framing-asan:
  extends:
    - .test-job-linux
    - .rules-merge-request
  needs: ["build-codec-linux-cmake"]
  stage: test
  script:
    # Build reference executable - 5ms framing disabled
    - cp lib_com/options.h lib_com/options.h.bak
    - sed -i '/API_5MS/d' lib_com/options.h 
    - mkdir cmake-build && cmake -B cmake-build . && cmake --build cmake-build -- -j
    - cp cmake-build/IVAS_rend IVAS_rend_ref

    # Build test executable
    - mv -f lib_com/options.h.bak lib_com/options.h
    - cmake -B cmake-build -DCLANG=asan . && cmake --build cmake-build -- -j
    - cp cmake-build/IVAS_rend .

    # Run Razel test
    - scripts/razel/test_renderer_razel.py

renderer-5ms-framing-msan:
  extends:
    - .test-job-linux
    - .rules-merge-request
  needs: ["build-codec-linux-cmake"]
  stage: test
  script:
    # Build reference executable - 5ms framing disabled
    - cp lib_com/options.h lib_com/options.h.bak
    - sed -i '/API_5MS/d' lib_com/options.h 
    - mkdir cmake-build && cmake -B cmake-build . && cmake --build cmake-build -- -j
    - cp cmake-build/IVAS_rend IVAS_rend_ref

    # Build test executable
    - mv -f lib_com/options.h.bak lib_com/options.h
    - cmake -B cmake-build -DCLANG=msan . && cmake --build cmake-build -- -j
    - cp cmake-build/IVAS_rend .

    # Run Razel test
    - scripts/razel/test_renderer_razel.py

.merge-request-comparison-setup-codec:
  &merge-request-comparison-setup-codec ### build test binaries, initial clean for paranoia reasons
  - make clean