diff options
author | Ivan Komissarov <abbapoh@gmail.com> | 2022-11-30 11:22:29 +0300 |
---|---|---|
committer | Ivan Komissarov <ABBAPOH@gmail.com> | 2023-01-10 10:17:29 +0000 |
commit | 5e855a750b1ce9ce8a5db57e1b160dc73f0611a4 (patch) | |
tree | d3a034a5ccd7109f5ea00959a734658de7dfa8be /.github | |
parent | abc990e11f20dc20440cabceedcecab84e6f78e3 (diff) |
GitHub actions: make ASAN build a separate job
We might want to add UB sanitizer job in the future.
Also, this should speed up linux test jobs such as
Android that currently use ASAN binaries.
Change-Id: I277c5d2713d88b5e706f76b7a098f82d3f9483f2
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/main.yml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e0f8ce287..e22d7156d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -81,11 +81,20 @@ jobs: image: 'focal-qt6', script: './scripts/build-qbs-with-qbs.sh', options: 'modules.cpp.compilerWrapper:ccache - products.qbsscriptengine.qbsbuildconfig.enableAddressSanitizer:false modules.qbs.debugInformation:true modules.qbsbuildconfig.enableBundledQt:true', cacheid: 'gcc-qt6', } + - { + name: 'Build on Linux (gcc, ASAN)', + image: 'focal', + script: './scripts/build-qbs-with-qbs.sh', + options: 'modules.cpp.compilerWrapper:ccache + modules.qbsbuildconfig.enableAddressSanitizer:true + modules.qbs.debugInformation:true + modules.qbsbuildconfig.enableBundledQt:true', + cacheid: 'gcc-asan', + } env: BUILD_OPTIONS: ${{ matrix.config.options }} QTEST_FUNCTION_TIMEOUT: 9000000 |