Compare commits

...
Author SHA1 Message Date
skylartaylor 8ce8bd63f8 ci: add comfortable runtime limits to unbounded jobs 2026-10-15 04:27:19 +02:00
3 changed files with 12 additions and 0 deletions

No files matched your search

+2
View File
@@ -29,6 +29,7 @@ concurrency:
jobs: jobs:
test: test:
timeout-minutes: 35
name: test (ubuntu-latest) name: test (ubuntu-latest)
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@@ -69,6 +70,7 @@ jobs:
run: cargo run --locked -q -p xtask -- assets run: cargo run --locked -q -p xtask -- assets
wasm: wasm:
timeout-minutes: 30
name: wasm32 check name: wasm32 check
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
+1
View File
@@ -19,6 +19,7 @@ concurrency:
jobs: jobs:
lint: lint:
timeout-minutes: 15
runs-on: ubuntu-latest runs-on: ubuntu-latest
env: env:
ACTIONLINT_VERSION: 1.7.12 ACTIONLINT_VERSION: 1.7.12
+9
View File
@@ -41,6 +41,7 @@ env:
jobs: jobs:
version: version:
timeout-minutes: 10
name: version name: version
runs-on: ubuntu-latest runs-on: ubuntu-latest
# No `environment: release`: this job reads no secrets, so a branch dry run can run it. # No `environment: release`: this job reads no secrets, so a branch dry run can run it.
@@ -69,6 +70,7 @@ jobs:
echo "### FigCraft v$v (\`${GITHUB_SHA::9}\`)" >>"$GITHUB_STEP_SUMMARY" echo "### FigCraft v$v (\`${GITHUB_SHA::9}\`)" >>"$GITHUB_STEP_SUMMARY"
macos: macos:
timeout-minutes: 90
name: macOS universal name: macOS universal
needs: version needs: version
runs-on: macos-15-xlarge # M2 Pro larger runner; use only in release.yml (actions_macos_xl budget caps spend) runs-on: macos-15-xlarge # M2 Pro larger runner; use only in release.yml (actions_macos_xl budget caps spend)
@@ -127,6 +129,7 @@ jobs:
if [ -n "${MACOS_KEYCHAIN:-}" ]; then security delete-keychain "$MACOS_KEYCHAIN" || true; fi if [ -n "${MACOS_KEYCHAIN:-}" ]; then security delete-keychain "$MACOS_KEYCHAIN" || true; fi
windows: windows:
timeout-minutes: 90
name: Windows ${{ matrix.arch }} name: Windows ${{ matrix.arch }}
needs: version needs: version
runs-on: windows-latest runs-on: windows-latest
@@ -187,6 +190,7 @@ jobs:
if-no-files-found: error if-no-files-found: error
linux: linux:
timeout-minutes: 90
name: Linux ${{ matrix.arch }} name: Linux ${{ matrix.arch }}
needs: version needs: version
# The oldest GitHub-hosted image, so the binaries only need glibc >= 2.35 (Ubuntu 22.04+, # The oldest GitHub-hosted image, so the binaries only need glibc >= 2.35 (Ubuntu 22.04+,
@@ -252,6 +256,7 @@ jobs:
if-no-files-found: error if-no-files-found: error
server: server:
timeout-minutes: 90
name: Server Linux ${{ matrix.arch }} name: Server Linux ${{ matrix.arch }}
needs: version needs: version
# The headless collaboration server (docs/server.md): figcraft-server-<v>-linux-<arch>.tar.gz # The headless collaboration server (docs/server.md): figcraft-server-<v>-linux-<arch>.tar.gz
@@ -295,6 +300,7 @@ jobs:
if-no-files-found: error if-no-files-found: error
flatpak: flatpak:
timeout-minutes: 90
name: Flatpak ${{ matrix.arch }} name: Flatpak ${{ matrix.arch }}
needs: [version, linux] needs: [version, linux]
# Repackages the Linux job's tarball (the same binaries as the AppImage/deb/rpm); no Rust # Repackages the Linux job's tarball (the same binaries as the AppImage/deb/rpm); no Rust
@@ -388,6 +394,7 @@ jobs:
if-no-files-found: error if-no-files-found: error
web: web:
timeout-minutes: 90
name: Web (wasm) name: Web (wasm)
needs: version needs: version
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -433,6 +440,7 @@ jobs:
if-no-files-found: error if-no-files-found: error
linux-riscv64: linux-riscv64:
timeout-minutes: 90
name: Linux riscv64 name: Linux riscv64
needs: version needs: version
# Cross-compiled on x86_64 (no hosted RISC-V runners) against the runner's own Ubuntu release # Cross-compiled on x86_64 (no hosted RISC-V runners) against the runner's own Ubuntu release
@@ -502,6 +510,7 @@ jobs:
if-no-files-found: error if-no-files-found: error
release: release:
timeout-minutes: 10
name: Draft GitHub Release name: Draft GitHub Release
needs: [version, macos, windows, linux, linux-riscv64, flatpak, freebsd, web, server] needs: [version, macos, windows, linux, linux-riscv64, flatpak, freebsd, web, server]
runs-on: ubuntu-latest runs-on: ubuntu-latest