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

add job to test build with DEBUGGING active

parent c9a67d88
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
# ensure the codec builds with DEBUGGING activated
# warnings are not treated as errors here
build-codec-linux-debugging:
  extends:
    - .build-job-linux
    - .rules-merge-request-to-main
  script:
    - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-common-info.sh
    - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/enable-debugging-macro.sh
    - make -j
+1 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@ include:
  - local: includes/default-variables-basop.yml
  - local: includes/rules-basop.yml
  - local: includes/complexity-jobs.yml
  - local: includes/build-jobs.yml

stages:
  - .pre
+1 −1
Original line number Diff line number Diff line

include:
  - local: main.yml
  - local: includes/default-variables-float.yml
  - local: includes/complexity-jobs.yml
  - local: includes/build-jobs.yml

stages:
  - .pre
+0 −2
Original line number Diff line number Diff line
@@ -2,8 +2,6 @@

set -euxo pipefail

cd "${CI_PROJECT_DIR}"

# automatically enable #DEBUGGING macro in options.h using either /**/-comment or //-comment
sed -i.bak -e "s/\/\*\ *\(#define\ *DEBUGGING\ *\)\*\//\1/g" lib_com/options.h
sed -i.bak -e "s/\/\/\ *\(#define\ *DEBUGGING\ *\)/\1/g" lib_com/options.h