Skip to content

Commit 73b01a9

Browse files
rcorsitrflynn89
authored andcommitted
CI: Add All_Debug CI job
1 parent 76dadd4 commit 73b01a9

File tree

4 files changed

+22
-2
lines changed

4 files changed

+22
-2
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ jobs:
4444
clang_plugins: false
4545
runner_labels: '["blacksmith-16vcpu-ubuntu-2404"]'
4646

47+
- os_name: 'Linux'
48+
arch: 'x86_64'
49+
build_preset: 'All_Debug'
50+
toolchain: 'Clang'
51+
clang_plugins: false
52+
runner_labels: '["blacksmith-16vcpu-ubuntu-2404"]'
53+
4754
secrets: inherit
4855
uses: ./.github/workflows/lagom-template.yml
4956
with:

.github/workflows/lagom-template.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,14 +203,14 @@ jobs:
203203
UBSAN_OPTIONS: 'log_path="${{ github.workspace }}/ubsan.log"'
204204

205205
- name: Test
206-
if: ${{ inputs.build_preset != 'Fuzzers' && !contains(inputs.build_preset, 'Sanitizer') }}
206+
if: ${{ inputs.build_preset != 'Fuzzers' && inputs.build_preset != 'All_Debug' && !contains(inputs.build_preset, 'Sanitizer') }}
207207
working-directory: ${{ github.workspace }}
208208
run: ctest --output-on-failure --test-dir Build --timeout 1800
209209
env:
210210
TESTS_ONLY: 1
211211

212212
- name: Upload LibWeb Test Artifacts
213-
if: ${{ always() && inputs.build_preset != 'Fuzzers' }}
213+
if: ${{ always() && inputs.build_preset != 'Fuzzers' && inputs.build_preset != 'All_Debug' }}
214214
uses: actions/upload-artifact@v4
215215
with:
216216
name: libweb-test-artifacts-${{ inputs.os_name }}-${{ inputs.build_preset }}-${{ inputs.toolchain }}-${{ inputs.clang-plugins }}

CMakePresets.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,18 @@
8282
"VCPKG_OVERLAY_TRIPLETS": "${fileDir}/Meta/CMake/vcpkg/debug-triplets"
8383
}
8484
},
85+
{
86+
"name": "All_Debug",
87+
"inherits": "unix_base",
88+
"displayName": "All Debug Config",
89+
"description": "All Debug Unix build",
90+
"binaryDir": "${fileDir}/Build/alldebug",
91+
"cacheVariables": {
92+
"CMAKE_BUILD_TYPE": "Debug",
93+
"VCPKG_OVERLAY_TRIPLETS": "${fileDir}/Meta/CMake/vcpkg/debug-triplets",
94+
"ENABLE_ALL_THE_DEBUG_MACROS": "ON"
95+
}
96+
},
8597
{
8698
"name": "Windows_Experimental",
8799
"inherits": "windows_base",

Meta/ladybird.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ def configure_build_env(platform: Platform, preset: str) -> tuple[Path, Path]:
271271

272272
known_presets = {
273273
"Debug": build_root_dir / "debug",
274+
"All_Debug": build_root_dir / "alldebug",
274275
"Distribution": build_root_dir / "distribution",
275276
"Release": build_root_dir / "release",
276277
"Sanitizer": build_root_dir / "sanitizers",

0 commit comments

Comments
 (0)