Use standard runner labels in Gitea workflows
CI / Real Minecraft installs (manual) (push) Skipped
CI / Rust, web and container (push) Failing after 10s
Server integrations / Fabric and Forge / 1.20.1 (push) Failing after 6s
CI / Windows launcher (push) Failing after 11s
Server integrations / paper (push) Failing after 15s
Server integrations / Fabric and Forge / 1.21.1 (push) Failing after 6s
Server integrations / Fabric and Forge / 26.1.2 (push) Failing after 7s
Server integrations / Fabric and Forge / 26.2 (push) Failing after 9s
Server integrations / Fabric and Forge / 26.3 (push) Failing after 7s

This commit is contained in:
SCOPEDD committed 2026-10-01 00:09:32 -04:00
1 parent 7809d47d39
commit bdb13b890d
4 files changed
+13 -13

No files matched your search

+5 -5
View File
@@ -16,14 +16,14 @@ env:
jobs: jobs:
verify: verify:
name: Rust, web and container name: Rust, web and container
runs-on: linux-build runs-on: ubuntu-latest
steps: steps:
- uses: builtin:checkout - uses: builtin:checkout
- name: Verify Linux runner - name: Verify Linux runner
run: | run: |
set -eu set -eu
test "$(uname -s)" = Linux test "$(uname -s)" = Linux
for tool in cargo rustc node npm docker; do command -v "$tool" >/dev/null || { echo "Missing $tool on linux-build runner"; exit 1; }; done for tool in cargo rustc node npm docker; do command -v "$tool" >/dev/null || { echo "Missing $tool on ubuntu-latest runner"; exit 1; }; done
test "$(node -p 'process.versions.node.split(".")[0]')" -ge 22 test "$(node -p 'process.versions.node.split(".")[0]')" -ge 22
rustup component list --installed | grep -q rustfmt rustup component list --installed | grep -q rustfmt
rustup component list --installed | grep -q clippy rustup component list --installed | grep -q clippy
@@ -54,13 +54,13 @@ jobs:
launcher-windows: launcher-windows:
name: Windows launcher name: Windows launcher
runs-on: windows-build runs-on: windows-latest
steps: steps:
- uses: builtin:checkout - uses: builtin:checkout
- name: Verify Windows runner - name: Verify Windows runner
shell: pwsh shell: pwsh
run: | run: |
if (-not $IsWindows) { throw 'windows-build must be a Windows host runner' } if (-not $IsWindows) { throw 'windows-latest must be a Windows host runner' }
foreach ($tool in @('cargo', 'rustc', 'node', 'npm')) { foreach ($tool in @('cargo', 'rustc', 'node', 'npm')) {
if (-not (Get-Command $tool -ErrorAction SilentlyContinue)) { throw "Missing $tool" } if (-not (Get-Command $tool -ErrorAction SilentlyContinue)) { throw "Missing $tool" }
} }
@@ -81,7 +81,7 @@ jobs:
engine-online: engine-online:
name: Real Minecraft installs (manual) name: Real Minecraft installs (manual)
if: ${{ gitea.event_name == 'workflow_dispatch' }} if: ${{ gitea.event_name == 'workflow_dispatch' }}
runs-on: linux-build runs-on: ubuntu-latest
continue-on-error: true continue-on-error: true
steps: steps:
- uses: builtin:checkout - uses: builtin:checkout
+2 -2
View File
@@ -17,7 +17,7 @@ permissions:
jobs: jobs:
paper: paper:
runs-on: linux-build runs-on: ubuntu-latest
steps: steps:
- uses: builtin:checkout - uses: builtin:checkout
- uses: actions/setup-java@v4 - uses: actions/setup-java@v4
@@ -47,7 +47,7 @@ jobs:
mods: mods:
name: Fabric and Forge / ${{ matrix.mc.version }} name: Fabric and Forge / ${{ matrix.mc.version }}
runs-on: linux-build runs-on: ubuntu-latest
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
+5 -5
View File
@@ -27,7 +27,7 @@ env:
jobs: jobs:
version: version:
runs-on: linux-build runs-on: ubuntu-latest
outputs: outputs:
version: ${{ steps.v.outputs.version }} version: ${{ steps.v.outputs.version }}
tag: ${{ steps.v.outputs.tag }} tag: ${{ steps.v.outputs.tag }}
@@ -50,13 +50,13 @@ jobs:
launcher: launcher:
name: Windows installer name: Windows installer
needs: version needs: version
runs-on: windows-build runs-on: windows-latest
steps: steps:
- uses: builtin:checkout - uses: builtin:checkout
- name: Verify Windows runner - name: Verify Windows runner
shell: pwsh shell: pwsh
run: | run: |
if (-not $IsWindows) { throw 'windows-build must be a Windows host runner' } if (-not $IsWindows) { throw 'windows-latest must be a Windows host runner' }
foreach ($tool in @('cargo', 'node', 'npm')) { foreach ($tool in @('cargo', 'node', 'npm')) {
if (-not (Get-Command $tool -ErrorAction SilentlyContinue)) { throw "Missing $tool" } if (-not (Get-Command $tool -ErrorAction SilentlyContinue)) { throw "Missing $tool" }
} }
@@ -114,7 +114,7 @@ jobs:
panel-image: panel-image:
name: Panel image (Gitea registry) name: Panel image (Gitea registry)
needs: version needs: version
runs-on: linux-build runs-on: ubuntu-latest
steps: steps:
- uses: builtin:checkout - uses: builtin:checkout
- name: Verify container runner - name: Verify container runner
@@ -160,7 +160,7 @@ jobs:
release: release:
name: Gitea release name: Gitea release
needs: [version, launcher, panel-image, server-integrations] needs: [version, launcher, panel-image, server-integrations]
runs-on: linux-build runs-on: ubuntu-latest
steps: steps:
- name: Verify release runner - name: Verify release runner
run: | run: |
+1 -1
View File
@@ -82,7 +82,7 @@ The workflow builds the **Windows installer**, pushes the **panel image to Gitea
### Gitea runner setup ### Gitea runner setup
Register a Linux host runner with the `linux-build` label and a Windows host runner with `windows-build`. The CI workflows check the host OS and required tools before building. The Linux host needs Rust with `rustfmt` and `clippy`, Node 22+, Java 21 and 25 for the integration matrix, Docker with Buildx, `pkg-config`, the Tauri WebKit/GTK development libraries, `curl`, and `jq`. The Windows host needs Rust, Node 22+, PowerShell and Git Bash. Enable Actions for the repository and allow its job token to write releases and packages. See [Gitea's runner labels](https://docs.gitea.com/runner/labels/) and [token permissions](https://docs.gitea.com/usage/actions/token-permissions/). Register a Linux host runner with the `ubuntu-latest` label and a Windows host runner with `windows-latest`. The CI workflows check the host OS and required tools before building. The Linux host needs Rust with `rustfmt` and `clippy`, Node 22+, Java 21 and 25 for the integration matrix, Docker with Buildx, `pkg-config`, the Tauri WebKit/GTK development libraries, `curl`, and `jq`. The Windows host needs Rust, Node 22+, PowerShell and Git Bash. Enable Actions for the repository and allow its job token to write releases and packages. See [Gitea's runner labels](https://docs.gitea.com/runner/labels/) and [token permissions](https://docs.gitea.com/usage/actions/token-permissions/).
## Repository layout ## Repository layout