summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-04-01 14:44:47 +0200
committerGitHub <noreply@github.com>2022-04-01 14:44:47 +0200
commit916ec2b66e193d58cd16c6a1704f1c49fe589bd0 (patch)
tree5ed96474b5dc4e3f5af32c75bf65c11a28791f9a /.github/workflows
parent26048c805b5b5912c7ccf8deb06be23c561b0fa0 (diff)
parentba0317be04168f73dab7a1492485276cfe3d4b2c (diff)
Merge pull request #59782 from bruvzg/clang_ci_san
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/linux_builds.yml16
1 files changed, 14 insertions, 2 deletions
diff --git a/.github/workflows/linux_builds.yml b/.github/workflows/linux_builds.yml
index c9f1b2f41e..1594f5b2d9 100644
--- a/.github/workflows/linux_builds.yml
+++ b/.github/workflows/linux_builds.yml
@@ -30,7 +30,7 @@ jobs:
build-mono: true
artifact: true
- - name: Editor with doubles and sanitizers (target=debug, tools=yes, float=64, tests=yes, use_asan=yes, use_ubsan=yes)
+ - name: Editor with doubles and GCC sanitizers (target=debug, tools=yes, float=64, tests=yes, use_asan=yes, use_ubsan=yes)
cache-name: linux-editor-double-sanitizers
target: debug
tools: true
@@ -45,6 +45,17 @@ jobs:
# Skip 2GiB artifact speeding up action.
artifact: false
+ - name: Editor with clang sanitizers (target=debug, tools=yes, use_asan=yes, use_ubsan=yes, use_llvm=yes)
+ cache-name: linux-editor-llvm-sanitizers
+ target: debug
+ tools: true
+ tests: true
+ sconsflags: use_asan=yes use_ubsan=yes use_llvm=yes
+ bin: "./bin/godot.linuxbsd.tools.64.llvm.san"
+ build-mono: false
+ # Skip 2GiB artifact speeding up action.
+ artifact: false
+
- name: Template w/ Mono (target=release, tools=no)
cache-name: linux-template-mono
target: release
@@ -75,7 +86,8 @@ jobs:
# The actual dependencies
sudo apt-get install build-essential pkg-config libx11-dev libxcursor-dev \
libxinerama-dev libgl1-mesa-dev libglu-dev libasound2-dev libpulse-dev \
- libdbus-1-dev libudev-dev libxi-dev libxrandr-dev yasm xvfb wget unzip
+ libdbus-1-dev libudev-dev libxi-dev libxrandr-dev yasm xvfb wget unzip \
+ llvm
- name: Setup Godot build cache
uses: ./.github/actions/godot-cache