Skip to content

Commit 9d8751d

Browse files
author
DJTBOT
committed
🤖 ci: add linux hm activation workflow
What: - add GitHub Actions workflow for x86_64-linux HM activation check Why: - unify HM coverage in CI alongside macOS - avoid relying on Garnix for test signal Tests: - nix build .#checks.x86_64-linux.hm-activation --print-build-logs --accept-flake-config (ok; eval warnings)
1 parent d03a90a commit 9d8751d

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: HM Activation (Linux)
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches: [ main ]
7+
workflow_run:
8+
workflows: [ "Yolo Update Pins" ]
9+
types: [ completed ]
10+
11+
jobs:
12+
hm-activation-linux:
13+
if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.head_branch == 'main') }}
14+
runs-on: ubuntu-latest
15+
env:
16+
TARGET_SHA: ${{ github.event_name == 'workflow_run' && github.event.workflow_run.head_sha || github.sha }}
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v4
20+
with:
21+
ref: ${{ env.TARGET_SHA }}
22+
23+
- name: Install Nix
24+
uses: DeterminateSystems/nix-installer-action@v13
25+
26+
- name: Run HM activation
27+
run: nix build .#checks.x86_64-linux.hm-activation --print-build-logs

0 commit comments

Comments
 (0)