mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-05 01:10:24 +00:00
CI: Add All_Debug CI job
This commit is contained in:
Notes:
github-actions[bot]
2025-10-27 12:47:15 +00:00
Author: https://github.com/rcorsi Commit: https://github.com/LadybirdBrowser/ladybird/commit/73b01a975ac Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6577
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@@ -44,6 +44,13 @@ jobs:
|
|||||||
clang_plugins: false
|
clang_plugins: false
|
||||||
runner_labels: '["blacksmith-16vcpu-ubuntu-2404"]'
|
runner_labels: '["blacksmith-16vcpu-ubuntu-2404"]'
|
||||||
|
|
||||||
|
- os_name: 'Linux'
|
||||||
|
arch: 'x86_64'
|
||||||
|
build_preset: 'All_Debug'
|
||||||
|
toolchain: 'Clang'
|
||||||
|
clang_plugins: false
|
||||||
|
runner_labels: '["blacksmith-16vcpu-ubuntu-2404"]'
|
||||||
|
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
uses: ./.github/workflows/lagom-template.yml
|
uses: ./.github/workflows/lagom-template.yml
|
||||||
with:
|
with:
|
||||||
|
|||||||
4
.github/workflows/lagom-template.yml
vendored
4
.github/workflows/lagom-template.yml
vendored
@@ -203,14 +203,14 @@ jobs:
|
|||||||
UBSAN_OPTIONS: 'log_path="${{ github.workspace }}/ubsan.log"'
|
UBSAN_OPTIONS: 'log_path="${{ github.workspace }}/ubsan.log"'
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
if: ${{ inputs.build_preset != 'Fuzzers' && !contains(inputs.build_preset, 'Sanitizer') }}
|
if: ${{ inputs.build_preset != 'Fuzzers' && inputs.build_preset != 'All_Debug' && !contains(inputs.build_preset, 'Sanitizer') }}
|
||||||
working-directory: ${{ github.workspace }}
|
working-directory: ${{ github.workspace }}
|
||||||
run: ctest --output-on-failure --test-dir Build --timeout 1800
|
run: ctest --output-on-failure --test-dir Build --timeout 1800
|
||||||
env:
|
env:
|
||||||
TESTS_ONLY: 1
|
TESTS_ONLY: 1
|
||||||
|
|
||||||
- name: Upload LibWeb Test Artifacts
|
- name: Upload LibWeb Test Artifacts
|
||||||
if: ${{ always() && inputs.build_preset != 'Fuzzers' }}
|
if: ${{ always() && inputs.build_preset != 'Fuzzers' && inputs.build_preset != 'All_Debug' }}
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: libweb-test-artifacts-${{ inputs.os_name }}-${{ inputs.build_preset }}-${{ inputs.toolchain }}-${{ inputs.clang-plugins }}
|
name: libweb-test-artifacts-${{ inputs.os_name }}-${{ inputs.build_preset }}-${{ inputs.toolchain }}-${{ inputs.clang-plugins }}
|
||||||
|
|||||||
@@ -82,6 +82,18 @@
|
|||||||
"VCPKG_OVERLAY_TRIPLETS": "${fileDir}/Meta/CMake/vcpkg/debug-triplets"
|
"VCPKG_OVERLAY_TRIPLETS": "${fileDir}/Meta/CMake/vcpkg/debug-triplets"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "All_Debug",
|
||||||
|
"inherits": "unix_base",
|
||||||
|
"displayName": "All Debug Config",
|
||||||
|
"description": "All Debug Unix build",
|
||||||
|
"binaryDir": "${fileDir}/Build/alldebug",
|
||||||
|
"cacheVariables": {
|
||||||
|
"CMAKE_BUILD_TYPE": "Debug",
|
||||||
|
"VCPKG_OVERLAY_TRIPLETS": "${fileDir}/Meta/CMake/vcpkg/debug-triplets",
|
||||||
|
"ENABLE_ALL_THE_DEBUG_MACROS": "ON"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "Windows_Experimental",
|
"name": "Windows_Experimental",
|
||||||
"inherits": "windows_base",
|
"inherits": "windows_base",
|
||||||
|
|||||||
@@ -271,6 +271,7 @@ def configure_build_env(platform: Platform, preset: str) -> tuple[Path, Path]:
|
|||||||
|
|
||||||
known_presets = {
|
known_presets = {
|
||||||
"Debug": build_root_dir / "debug",
|
"Debug": build_root_dir / "debug",
|
||||||
|
"All_Debug": build_root_dir / "alldebug",
|
||||||
"Distribution": build_root_dir / "distribution",
|
"Distribution": build_root_dir / "distribution",
|
||||||
"Release": build_root_dir / "release",
|
"Release": build_root_dir / "release",
|
||||||
"Sanitizer": build_root_dir / "sanitizers",
|
"Sanitizer": build_root_dir / "sanitizers",
|
||||||
|
|||||||
Reference in New Issue
Block a user