Skip to content

Commit cc94b59

Browse files
Revert "ci: drop macos debug build" (#12099)
Revert "ci: drop macos debug build (#12067)" This reverts commit 1d344b6.
1 parent fed1913 commit cc94b59

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/main.yml

+11
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ jobs:
3939
os: macos-latest
4040
container:
4141
useSonarCloud:
42+
- name: macos-clang-arm64-debug
43+
target: macos-clang-arm64-debug
44+
os: macos-latest
45+
container:
46+
useSonarCloud:
4247
- name: linux-gcc-x86_64
4348
target: linux-64-gcc
4449
os: ubuntu-latest
@@ -135,6 +140,12 @@ jobs:
135140
- name: Build
136141
if: ${{ !matrix.useSonarCloud }}
137142
run: |
143+
if ("${{ matrix.target }}" -eq "macos-64-clang-debug" ) {
144+
# https://api.kde.org/ecm/module/ECMEnableSanitizers.html
145+
# address;leak;undefined
146+
# clang: error: unsupported option '-fsanitize=leak' for target 'x86_64-apple-darwin21.6.0'
147+
& "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --set args="-DECM_ENABLE_SANITIZERS='address;undefined'" owncloud/owncloud-client
148+
}
138149
if ("${{ matrix.target }}" -eq "linux-64-gcc" ) {
139150
# build with appimage updater and others
140151
& "${env:GITHUB_WORKSPACE}/.github/workflows/.craft.ps1" -c --set enableAppImageUpdater=true owncloud-client

0 commit comments

Comments
 (0)