mirror of
https://github.com/harivansh-afk/deskctl.git
synced 2026-04-15 11:02:18 +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
|
||||
|
||||
# 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:
|
||||
pull_request:
|
||||
branches: [main]
|
||||
|
|
@ -33,7 +37,7 @@ permissions:
|
|||
jobs:
|
||||
changes:
|
||||
name: Changes
|
||||
runs-on: [self-hosted, netty]
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
rust: ${{ steps.check.outputs.rust }}
|
||||
version: ${{ steps.version.outputs.version }}
|
||||
|
|
@ -101,7 +105,7 @@ jobs:
|
|||
name: Validate
|
||||
needs: changes
|
||||
if: needs.changes.outputs.rust == 'true'
|
||||
runs-on: [self-hosted, netty]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
|
@ -125,6 +129,9 @@ jobs:
|
|||
- name: Install site dependencies
|
||||
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
|
||||
run: make fmt-check
|
||||
|
||||
|
|
@ -141,7 +148,7 @@ jobs:
|
|||
name: Integration (Xvfb)
|
||||
needs: changes
|
||||
if: needs.changes.outputs.rust == 'true'
|
||||
runs-on: [self-hosted, netty]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
|
@ -149,6 +156,9 @@ jobs:
|
|||
|
||||
- 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
|
||||
run: make test-integration
|
||||
|
||||
|
|
@ -156,7 +166,7 @@ jobs:
|
|||
name: Distribution Validate
|
||||
needs: changes
|
||||
if: needs.changes.outputs.rust == 'true'
|
||||
runs-on: [self-hosted, netty]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
|
@ -168,11 +178,19 @@ jobs:
|
|||
with:
|
||||
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
|
||||
run: make dist-validate
|
||||
|
||||
# --- 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:
|
||||
name: Update Manifests
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ import DocLayout from "../layouts/DocLayout.astro";
|
|||
<a href="https://github.com/harivansh-afk/deskctl">GitHub</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://crates.io/crates/deskctl">crates.io</a>
|
||||
<a href="www.crates.io">crates.io</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://www.npmjs.com/package/deskctl">npm</a>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue