CI: Move nightly Windows build to nightly-lagom
Some checks are pending
CI / macOS, arm64, Sanitizer_CI, Clang (push) Waiting to run
CI / Linux, x86_64, Fuzzers_CI, Clang (push) Waiting to run
CI / Linux, x86_64, Sanitizer_CI, GNU (push) Waiting to run
CI / Linux, x86_64, Sanitizer_CI, Clang (push) Waiting to run
Package the js repl as a binary artifact / macOS, arm64 (push) Waiting to run
Package the js repl as a binary artifact / Linux, x86_64 (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run

Since lagom-template supports Windows builds now, we no longer need a
separate nightly-windows workflow.
This commit is contained in:
Jelle Raaijmakers 2025-06-22 12:33:05 +02:00 committed by Jelle Raaijmakers
commit 1be79a2b7b
Notes: github-actions[bot] 2025-06-22 10:48:28 +00:00
2 changed files with 7 additions and 83 deletions

View file

@ -61,6 +61,13 @@ jobs:
clang_plugins: false
runner_labels: '["macos-15"]'
- os_name: 'Windows'
arch: 'x86_64'
build_preset: 'Windows_Sanitizer_CI'
toolchain: 'ClangCL'
clang_plugins: false
runner_labels: '["windows-2025"]'
uses: ./.github/workflows/lagom-template.yml
with:
toolchain: ${{ matrix.toolchain }}

View file

@ -1,83 +0,0 @@
name: Nightly Windows
on:
# Automatically run at the end of every day.
schedule:
- cron: '0 0 * * *'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
# runner.workspace = /home/runner/work/ladybird
# github.workspace = /home/runner/work/ladybird/ladybird
LADYBIRD_SOURCE_DIR: ${{ github.workspace }}
VCPKG_ROOT: ${{ github.workspace }}/Build/vcpkg
jobs:
CI:
if: github.repository == 'LadybirdBrowser/ladybird'
runs-on: windows-2025
steps:
- uses: actions/checkout@v4
if: ${{ github.event_name != 'pull_request' }}
- name: Set Up Environment
uses: ./.github/actions/setup
with:
os: 'Windows'
arch: 'x86_64'
toolchain: 'ClangCL'
- name: Restore Caches
uses: ./.github/actions/cache-restore
id: 'cache-restore'
with:
runner_labels: '["windows-2025"]'
os: Windows
arch: x86_64
toolchain: ClangCL
cache_key_extra: Windows_Sanitizer_CI
download_cache_path: ${{ github.workspace }}/Build/caches
vcpkg_cache_path: ${{ github.workspace }}/Build/caches/vcpkg-binary-cache
- name: Create Build Environment
working-directory: ${{ github.workspace }}
run: |
cmake --preset Windows_Sanitizer_CI
- name: Build
working-directory: ${{ github.workspace }}
run: |
cmake --build --preset Windows_Sanitizer_CI
- name: Save Caches
uses: ./.github/actions/cache-save
with:
runner_labels: '["windows-2025"]'
arch: x86_64
vcpkg_cache_path: ${{ github.workspace }}/Build/caches/vcpkg-binary-cache
vcpkg_cache_primary_key: ${{ steps.cache-restore.outputs.vcpkg_cache_primary_key }}
- name: Test
working-directory: ${{ github.workspace }}
run: ctest --preset Windows_Sanitizer_CI --timeout 1800
env:
TESTS_ONLY: 1
ASAN_OPTIONS: 'log_path="${{ github.workspace }}\asan.log"'
UBSAN_OPTIONS: 'log_path="${{ github.workspace }}\ubsan.log"'
- name: Sanitizer Output
if: ${{ !cancelled() && inputs.build_preset == 'Windows_Sanitizer_CI' }}
working-directory: ${{ github.workspace }}
run: |
log_output=$(find . -maxdepth 1 \( -name 'asan.log.*' -o -name 'ubsan.log.*' \) -exec cat {} \; )
if [ -z "$log_output" ]; then
echo "No sanitizer issues found."
else
echo "$log_output"
echo "Sanitizer errors happened while running tests; see the Test step above."
fi