mirror of
https://github.com/harivansh-afk/deskctl.git
synced 2026-04-15 07:04:46 +00:00
ci: use self-hosted netty runners for validation jobs
Some checks failed
CI / Changes (push) Has been cancelled
CI / Validate (push) Has been cancelled
CI / Integration (Xvfb) (push) Has been cancelled
CI / Distribution Validate (push) Has been cancelled
CI / Update Manifests (push) Has been cancelled
CI / Build Release Asset (push) Has been cancelled
CI / Release (push) Has been cancelled
CI / Publish npm (push) Has been cancelled
CI / Publish crates.io (push) Has been cancelled
Some checks failed
CI / Changes (push) Has been cancelled
CI / Validate (push) Has been cancelled
CI / Integration (Xvfb) (push) Has been cancelled
CI / Distribution Validate (push) Has been cancelled
CI / Update Manifests (push) Has been cancelled
CI / Build Release Asset (push) Has been cancelled
CI / Release (push) Has been cancelled
CI / Publish npm (push) Has been cancelled
CI / Publish crates.io (push) Has been cancelled
This commit is contained in:
parent
13119eecf7
commit
32c6d337f1
1 changed files with 5 additions and 23 deletions
28
.github/workflows/ci.yml
vendored
28
.github/workflows/ci.yml
vendored
|
|
@ -1,9 +1,5 @@
|
||||||
name: CI
|
name: CI
|
||||||
|
|
||||||
# Runners: uvacompute (https://uvacompute.com)
|
|
||||||
# To enable, set the UVA_RUNNER repo variable to the correct runner label.
|
|
||||||
# runs-on: ${{ vars.UVA_RUNNER || 'ubuntu-latest' }}
|
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
|
@ -37,7 +33,7 @@ permissions:
|
||||||
jobs:
|
jobs:
|
||||||
changes:
|
changes:
|
||||||
name: Changes
|
name: Changes
|
||||||
runs-on: ubuntu-latest
|
runs-on: [self-hosted, netty]
|
||||||
outputs:
|
outputs:
|
||||||
rust: ${{ steps.check.outputs.rust }}
|
rust: ${{ steps.check.outputs.rust }}
|
||||||
version: ${{ steps.version.outputs.version }}
|
version: ${{ steps.version.outputs.version }}
|
||||||
|
|
@ -105,7 +101,7 @@ jobs:
|
||||||
name: Validate
|
name: Validate
|
||||||
needs: changes
|
needs: changes
|
||||||
if: needs.changes.outputs.rust == 'true'
|
if: needs.changes.outputs.rust == 'true'
|
||||||
runs-on: ubuntu-latest
|
runs-on: [self-hosted, netty]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
|
@ -129,9 +125,6 @@ jobs:
|
||||||
- name: Install site dependencies
|
- name: Install site dependencies
|
||||||
run: pnpm --dir site install --frozen-lockfile
|
run: pnpm --dir site install --frozen-lockfile
|
||||||
|
|
||||||
- name: Install system dependencies
|
|
||||||
run: sudo apt-get update && sudo apt-get install -y libx11-dev libxtst-dev
|
|
||||||
|
|
||||||
- name: Format check
|
- name: Format check
|
||||||
run: make fmt-check
|
run: make fmt-check
|
||||||
|
|
||||||
|
|
@ -148,7 +141,7 @@ jobs:
|
||||||
name: Integration (Xvfb)
|
name: Integration (Xvfb)
|
||||||
needs: changes
|
needs: changes
|
||||||
if: needs.changes.outputs.rust == 'true'
|
if: needs.changes.outputs.rust == 'true'
|
||||||
runs-on: ubuntu-latest
|
runs-on: [self-hosted, netty]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
|
@ -156,9 +149,6 @@ jobs:
|
||||||
|
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
|
||||||
- name: Install system dependencies
|
|
||||||
run: sudo apt-get update && sudo apt-get install -y libx11-dev libxtst-dev xvfb
|
|
||||||
|
|
||||||
- name: Xvfb integration tests
|
- name: Xvfb integration tests
|
||||||
run: make test-integration
|
run: make test-integration
|
||||||
|
|
||||||
|
|
@ -166,7 +156,7 @@ jobs:
|
||||||
name: Distribution Validate
|
name: Distribution Validate
|
||||||
needs: changes
|
needs: changes
|
||||||
if: needs.changes.outputs.rust == 'true'
|
if: needs.changes.outputs.rust == 'true'
|
||||||
runs-on: ubuntu-latest
|
runs-on: [self-hosted, netty]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
|
@ -178,19 +168,11 @@ jobs:
|
||||||
with:
|
with:
|
||||||
node-version: 22
|
node-version: 22
|
||||||
|
|
||||||
- uses: cachix/install-nix-action@v30
|
|
||||||
with:
|
|
||||||
extra_nix_config: |
|
|
||||||
experimental-features = nix-command flakes
|
|
||||||
|
|
||||||
- name: Install system dependencies
|
|
||||||
run: sudo apt-get update && sudo apt-get install -y libx11-dev libxtst-dev
|
|
||||||
|
|
||||||
- name: Distribution validation
|
- name: Distribution validation
|
||||||
run: make dist-validate
|
run: make dist-validate
|
||||||
|
|
||||||
# --- Release pipeline: update-manifests -> build -> release -> publish ---
|
# --- Release pipeline: update-manifests -> build -> release -> publish ---
|
||||||
# Version bump happens BEFORE build so the binary has the correct version.
|
# These stay on ubuntu-latest for artifact upload/download and registry publishing.
|
||||||
|
|
||||||
update-manifests:
|
update-manifests:
|
||||||
name: Update Manifests
|
name: Update Manifests
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue