mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
CI: Make Flatpak build part of regular CI builds
This means the Flatpak build will now execute as part of PRs and pushes to our `master` branch.
This commit is contained in:
committed by
Jelle Raaijmakers
parent
453764d3f0
commit
323baf7a01
Notes:
github-actions[bot]
2026-01-10 18:43:30 +00:00
Author: https://github.com/gmta Commit: https://github.com/LadybirdBrowser/ladybird/commit/323baf7a016 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/7414 Reviewed-by: https://github.com/trflynn89 ✅
40
.github/workflows/ci-flatpak.yml
vendored
40
.github/workflows/ci-flatpak.yml
vendored
@@ -1,40 +0,0 @@
|
||||
name: CI (Flatpak)
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- synchronize
|
||||
- reopened
|
||||
- labeled
|
||||
- unlabeled
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
# Do not cancel in-progress runs if a labeling action took place (other than 'flatpak'). Otherwise, adding irrelevant
|
||||
# labels causes existing runs to be canceled and a new (identical) run to be started.
|
||||
cancel-in-progress: ${{ (github.event.action != 'labeled' && github.event.action != 'unlabeled') || github.event.label.name == 'flatpak' }}
|
||||
|
||||
jobs:
|
||||
CI-Flatpak:
|
||||
# Only run this job if the PR has the 'flatpak' label.
|
||||
if: |
|
||||
github.repository == 'LadybirdBrowser/ladybird'
|
||||
&& contains(github.event.pull_request.labels.*.name, 'flatpak')
|
||||
name: Flatpak ${{ matrix.arch }}
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
arch: ['x86_64']
|
||||
runner_labels: ['["blacksmith-16vcpu-ubuntu-2404"]']
|
||||
|
||||
include:
|
||||
- arch: 'aarch64'
|
||||
runner_labels: '["blacksmith-16vcpu-ubuntu-2404-arm"]'
|
||||
|
||||
secrets: inherit
|
||||
uses: ./.github/workflows/flatpak-template.yml
|
||||
with:
|
||||
arch: ${{ matrix.arch }}
|
||||
runner_labels: ${{ matrix.runner_labels }}
|
||||
20
.github/workflows/ci.yml
vendored
20
.github/workflows/ci.yml
vendored
@@ -74,3 +74,23 @@ jobs:
|
||||
arch: ${{ matrix.arch }}
|
||||
build_preset: ${{ matrix.build_preset }}
|
||||
clang_plugins: ${{ matrix.clang_plugins }}
|
||||
|
||||
Flatpak:
|
||||
if: github.repository == 'LadybirdBrowser/ladybird'
|
||||
name: Flatpak ${{ matrix.arch }}
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
arch: ['x86_64']
|
||||
runner_labels: ['["blacksmith-16vcpu-ubuntu-2404"]']
|
||||
|
||||
include:
|
||||
- arch: 'aarch64'
|
||||
runner_labels: '["blacksmith-16vcpu-ubuntu-2404-arm"]'
|
||||
|
||||
secrets: inherit
|
||||
uses: ./.github/workflows/flatpak-template.yml
|
||||
with:
|
||||
arch: ${{ matrix.arch }}
|
||||
runner_labels: ${{ matrix.runner_labels }}
|
||||
|
||||
4
.github/workflows/nightly-lagom.yml
vendored
4
.github/workflows/nightly-lagom.yml
vendored
@@ -85,8 +85,8 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
arch: [ 'x86_64' ]
|
||||
runner_labels: [ '["blacksmith-8vcpu-ubuntu-2404"]' ]
|
||||
arch: ['x86_64']
|
||||
runner_labels: ['["blacksmith-8vcpu-ubuntu-2404"]']
|
||||
|
||||
include:
|
||||
- arch: 'aarch64'
|
||||
|
||||
Reference in New Issue
Block a user