Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 2 additions & 11 deletions .github/workflows/build-linux-turnip.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,10 @@
name: Build WN Linux Turnip Drivers

on:
workflow_call:
inputs:
source_ref:
type: string
default: feature/linux-drivers
publish:
type: boolean
default: false
schedule:
- cron: '0 12 * * 3'
push:
branches: [feature/linux-drivers]
branches: [main]
paths: ['linux/**', 'patches/**', 'build_linux_turnip.sh', '.github/workflows/build-linux-turnip.yml']
pull_request:
paths: ['linux/**', 'patches/**', 'build_linux_turnip.sh', '.github/workflows/build-linux-turnip.yml']
Expand All @@ -24,7 +16,7 @@ on:
default: false

concurrency:
group: linux-turnip-${{ github.event_name == 'pull_request' && github.event.pull_request.number || 'release' }}
group: linux-turnip-${{ github.event_name == 'pull_request' && format('pr-{0}', github.event.pull_request.number) || github.event_name == 'push' && format('push-{0}', github.run_id) || 'release' }}
cancel-in-progress: false

permissions:
Expand All @@ -42,7 +34,6 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
ref: ${{ inputs.source_ref || github.sha }}
persist-credentials: false
- name: Version
id: version
Expand Down
21 changes: 0 additions & 21 deletions .github/workflows/schedule-linux-turnip.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,4 +201,4 @@ MIT — see `LICENSE`.

## Linux GameScope/Wayland drivers

The `feature/linux-drivers` branch adds glibc ARM64 Turnip packages alongside the existing Android builds. See [linux/README.md](linux/README.md) for the build, package format, validation and scheduling requirements. Android build scripts and releases keep their existing behavior.
`build-linux-turnip.yml` builds glibc ARM64 Turnip packages alongside the existing Android builds. See [linux/README.md](linux/README.md) for the build, package format, validation and release workflow. Android build scripts and releases keep their existing behavior.
8 changes: 4 additions & 4 deletions linux/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ Initial local validation built Mesa `5ff61a7646d29b54c324af0a60aa3bfb5cdd24d1`,

## Release workflow

`build-linux-turnip.yml` builds both variants on Ubuntu 24.04 ARM64. Branch pushes build preview artifacts. Manual runs create a draft unless `publish` is true; scheduled runs publish. The cron is the same as the Android workflow: Wednesday 12:00 UTC (`0 12 * * 3`).
`build-linux-turnip.yml` builds both variants on Ubuntu 24.04 ARM64 from `main`. Pushes to `main` and pull requests that change the Linux build produce preview artifacts only. Scheduled runs publish; the cron is the same as the Android workflow, Wednesday 12:00 UTC (`0 12 * * 3`). Manual runs create a draft unless `publish` is true:

GitHub executes scheduled workflows only from the default branch. The feature branch's cron is not active by itself. To activate weekly builds, merge this workflow into the default branch or add a default-branch entrypoint that checks out the Linux branch. Preserve the Android workflow and its existing schedule. After the push registers the workflow, manual dispatch with `--ref feature/linux-drivers` works; this was verified through the GitHub API. Push builds work on this branch immediately.

A ready default-branch entrypoint is provided at `linux/scheduler/schedule-linux-turnip.yml`. Install that file as `.github/workflows/schedule-linux-turnip.yml` on `main` to call the reusable build from `feature/linux-drivers`. Its manual trigger defaults to a draft, while weekly runs publish. The reusable workflow checks out the Linux branch and records its actual recipe commit for release tags, even when the caller runs from main. Do not install both this scheduler and a separately scheduled copy of the full workflow on main.
```sh
gh workflow run build-linux-turnip.yml --ref main -f publish=true
```
Loading
Loading