CI: Move the flatpak build steps to their own job

This is entirely a GitHub limitation. But I have found myself wanting to
rerun flaky CI tests, but have to wait some time for the flatpak builder
to complete. Moving this to its own job means we don't need to wait to
restart other CI jobs.
This commit is contained in:
Timothy Flynn
2026-02-26 09:43:47 -05:00
committed by Tim Flynn
parent 9bd0a50a01
commit a238894e53
Notes: github-actions[bot] 2026-02-26 15:34:24 +00:00
2 changed files with 28 additions and 20 deletions

View File

@@ -74,23 +74,3 @@ 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 }}

28
.github/workflows/flatpak.yml vendored Normal file
View File

@@ -0,0 +1,28 @@
name: Flatpak
on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || format('{0}-{1}', github.ref, github.run_number) }}
cancel-in-progress: true
jobs:
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 }}