From b043acbf1b343f3379701a540146358fd07b4f2c Mon Sep 17 00:00:00 2001 From: knj Date: Tue, 10 Oct 2023 16:52:47 +0200 Subject: [PATCH] add build jobs for codec with split rendering --- .gitlab-ci.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2693048d14..fe58926df2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -337,6 +337,30 @@ build-codec-sanitizers-linux: # need to use the "|| exit $?" suffix to get the allowed_failure return code, otherwise the job fails with code 1...< - ci/check_for_warnings.py $BUILD_OUTPUT || exit $? +build-codec-include-split-linux-make: + extends: + - .build-job-with-check-for-warnings + - .rules-basis + script: + - *print-common-info + - make -j INCLUDE_SPLIT=1 2>&1 | tee $BUILD_OUTPUT + # need to use the "|| exit $?" suffix to get the allowed_failure return code, otherwise the job fails with code 1...< + - ci/check_for_warnings.py $BUILD_OUTPUT || exit $? + +build-codec-include-split-linux-cmake: + extends: + - .build-job-with-check-for-warnings + - .rules-basis + script: + - *print-common-info + - mkdir build + - cd build + - cmake .. -DINCLUDE_SPLIT=1 + - cd .. + - make -C build -j 2>&1 | tee $BUILD_OUTPUT + # need to use the "|| exit $?" suffix to get the allowed_failure return code, otherwise the job fails with code 1...< + - ci/check_for_warnings.py $BUILD_OUTPUT || exit $? + build-codec-windows-cmake: extends: - .build-job-windows-with-check-for-warnings @@ -350,6 +374,19 @@ build-codec-windows-cmake: - ("& python ci/check_for_warnings.py '$BUILD_OUTPUT'") | Invoke-Expression - ("exit $LASTEXITCODE") | Invoke-Expression +build-codec-windows-include-split-cmake: + extends: + - .build-job-windows-with-check-for-warnings + - .rules-basis + script: + - *print-common-info-windows + - $winoutdata = $null + - cmake -DINCLUDE_SPLIT=1 -G "Visual Studio 15 2017" . -Bbuild + - cmake --build build -j | tee -variable winoutdata + - $winoutdata | Out-File $BUILD_OUTPUT -Encoding Utf8 + - ("& python ci/check_for_warnings.py '$BUILD_OUTPUT'") | Invoke-Expression + - ("exit $LASTEXITCODE") | Invoke-Expression + build-codec-windows-msbuild: extends: - .build-job-windows-with-check-for-warnings -- GitLab