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
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:
1 parent
7809d47d39
commit
bdb13b890d
4 files changed
+13
-13
No files matched your search
@@ -16,14 +16,14 @@ env:
|
||||
jobs:
|
||||
verify:
|
||||
name: Rust, web and container
|
||||
runs-on: linux-build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: builtin:checkout
|
||||
- name: Verify Linux runner
|
||||
run: |
|
||||
set -eu
|
||||
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
|
||||
rustup component list --installed | grep -q rustfmt
|
||||
rustup component list --installed | grep -q clippy
|
||||
@@ -54,13 +54,13 @@ jobs:
|
||||
|
||||
launcher-windows:
|
||||
name: Windows launcher
|
||||
runs-on: windows-build
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: builtin:checkout
|
||||
- name: Verify Windows runner
|
||||
shell: pwsh
|
||||
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')) {
|
||||
if (-not (Get-Command $tool -ErrorAction SilentlyContinue)) { throw "Missing $tool" }
|
||||
}
|
||||
@@ -81,7 +81,7 @@ jobs:
|
||||
engine-online:
|
||||
name: Real Minecraft installs (manual)
|
||||
if: ${{ gitea.event_name == 'workflow_dispatch' }}
|
||||
runs-on: linux-build
|
||||
runs-on: ubuntu-latest
|
||||
continue-on-error: true
|
||||
steps:
|
||||
- uses: builtin:checkout
|
||||
|
||||
@@ -17,7 +17,7 @@ permissions:
|
||||
|
||||
jobs:
|
||||
paper:
|
||||
runs-on: linux-build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: builtin:checkout
|
||||
- uses: actions/setup-java@v4
|
||||
@@ -47,7 +47,7 @@ jobs:
|
||||
|
||||
mods:
|
||||
name: Fabric and Forge / ${{ matrix.mc.version }}
|
||||
runs-on: linux-build
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
|
||||
@@ -27,7 +27,7 @@ env:
|
||||
|
||||
jobs:
|
||||
version:
|
||||
runs-on: linux-build
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
version: ${{ steps.v.outputs.version }}
|
||||
tag: ${{ steps.v.outputs.tag }}
|
||||
@@ -50,13 +50,13 @@ jobs:
|
||||
launcher:
|
||||
name: Windows installer
|
||||
needs: version
|
||||
runs-on: windows-build
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: builtin:checkout
|
||||
- name: Verify Windows runner
|
||||
shell: pwsh
|
||||
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')) {
|
||||
if (-not (Get-Command $tool -ErrorAction SilentlyContinue)) { throw "Missing $tool" }
|
||||
}
|
||||
@@ -114,7 +114,7 @@ jobs:
|
||||
panel-image:
|
||||
name: Panel image (Gitea registry)
|
||||
needs: version
|
||||
runs-on: linux-build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: builtin:checkout
|
||||
- name: Verify container runner
|
||||
@@ -160,7 +160,7 @@ jobs:
|
||||
release:
|
||||
name: Gitea release
|
||||
needs: [version, launcher, panel-image, server-integrations]
|
||||
runs-on: linux-build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Verify release runner
|
||||
run: |
|
||||
|
||||
@@ -82,7 +82,7 @@ The workflow builds the **Windows installer**, pushes the **panel image to Gitea
|
||||
|
||||
### 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
|
||||
|
||||
|
||||
Reference in new issue
Block a user