mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-08 05:27:14 +09:00

By default, matrix jobs generate a name for themselves by concatenating their job name and all matrix variables into a big string. Changing the runner labels causes the job name to change, which means we need to go into GitHub and change the required checks since those are name-based. Give all matrix workflows an explicit, more stable name.
71 lines
2.1 KiB
YAML
71 lines
2.1 KiB
YAML
name: Nightly Lagom
|
|
|
|
on:
|
|
# Automatically run at the end of every day.
|
|
schedule:
|
|
- cron: '0 0 * * *'
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
# CI matrix - runs the job in lagom-template.yml with different configurations.
|
|
Lagom:
|
|
if: github.repository == 'LadybirdBrowser/ladybird'
|
|
name: ${{ matrix.os_name }}, ${{ matrix.arch }}, ${{ matrix.build_preset }}, ${{ matrix.toolchain }}
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os_name: ['Linux']
|
|
arch: ['arm64']
|
|
build_preset: ['Sanitizer_CI']
|
|
toolchain: ['Clang']
|
|
clang_plugins: [false]
|
|
runner_labels: ['["blacksmith-8vcpu-ubuntu-2404-arm"]']
|
|
|
|
include:
|
|
- os_name: 'Linux'
|
|
arch: 'x86_64'
|
|
build_preset: 'Distribution_CI'
|
|
toolchain: 'GNU'
|
|
clang_plugins: false
|
|
runner_labels: '["blacksmith-8vcpu-ubuntu-2404"]'
|
|
|
|
- os_name: 'macOS'
|
|
arch: 'arm64'
|
|
build_preset: 'Distribution_CI'
|
|
toolchain: 'Clang'
|
|
clang_plugins: false
|
|
runner_labels: '["macos-15"]'
|
|
|
|
- os_name: 'Linux'
|
|
arch: 'arm64'
|
|
build_preset: 'Distribution_CI'
|
|
toolchain: 'Clang'
|
|
clang_plugins: false
|
|
runner_labels: '["blacksmith-8vcpu-ubuntu-2404-arm"]'
|
|
|
|
- os_name: 'Linux'
|
|
arch: 'x86_64'
|
|
build_preset: 'Sanitizer_CI'
|
|
toolchain: 'Swift'
|
|
clang_plugins: false
|
|
runner_labels: '["blacksmith-8vcpu-ubuntu-2404"]'
|
|
|
|
- os_name: 'macOS'
|
|
arch: 'arm64'
|
|
build_preset: 'Sanitizer_CI'
|
|
toolchain: 'Swift'
|
|
clang_plugins: false
|
|
runner_labels: '["macos-15"]'
|
|
|
|
uses: ./.github/workflows/lagom-template.yml
|
|
with:
|
|
toolchain: ${{ matrix.toolchain }}
|
|
os_name: ${{ matrix.os_name }}
|
|
runner_labels: ${{ matrix.runner_labels }}
|
|
arch: ${{ matrix.arch }}
|
|
build_preset: ${{ matrix.build_preset }}
|
|
clang_plugins: ${{ matrix.clang_plugins }}
|