mirror of
https://github.com/harivansh-afk/deskctl.git
synced 2026-04-18 20:03:37 +00:00
Compare commits
No commits in common. "main" and "v0.1.14" have entirely different histories.
2 changed files with 24 additions and 6 deletions
28
.github/workflows/ci.yml
vendored
28
.github/workflows/ci.yml
vendored
|
|
@ -1,5 +1,9 @@
|
||||||
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]
|
||||||
|
|
@ -33,7 +37,7 @@ permissions:
|
||||||
jobs:
|
jobs:
|
||||||
changes:
|
changes:
|
||||||
name: Changes
|
name: Changes
|
||||||
runs-on: [self-hosted, netty]
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
outputs:
|
||||||
rust: ${{ steps.check.outputs.rust }}
|
rust: ${{ steps.check.outputs.rust }}
|
||||||
version: ${{ steps.version.outputs.version }}
|
version: ${{ steps.version.outputs.version }}
|
||||||
|
|
@ -101,7 +105,7 @@ jobs:
|
||||||
name: Validate
|
name: Validate
|
||||||
needs: changes
|
needs: changes
|
||||||
if: needs.changes.outputs.rust == 'true'
|
if: needs.changes.outputs.rust == 'true'
|
||||||
runs-on: [self-hosted, netty]
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
|
@ -125,6 +129,9 @@ 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
|
||||||
|
|
||||||
|
|
@ -141,7 +148,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: [self-hosted, netty]
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
|
@ -149,6 +156,9 @@ 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
|
||||||
|
|
||||||
|
|
@ -156,7 +166,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: [self-hosted, netty]
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
|
@ -168,11 +178,19 @@ 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 ---
|
||||||
# These stay on ubuntu-latest for artifact upload/download and registry publishing.
|
# Version bump happens BEFORE build so the binary has the correct version.
|
||||||
|
|
||||||
update-manifests:
|
update-manifests:
|
||||||
name: Update Manifests
|
name: Update Manifests
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@ import DocLayout from "../layouts/DocLayout.astro";
|
||||||
<a href="https://github.com/harivansh-afk/deskctl">GitHub</a>
|
<a href="https://github.com/harivansh-afk/deskctl">GitHub</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="https://crates.io/crates/deskctl">crates.io</a>
|
<a href="www.crates.io">crates.io</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="https://www.npmjs.com/package/deskctl">npm</a>
|
<a href="https://www.npmjs.com/package/deskctl">npm</a>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue