Skip to content

Commit

Permalink
deploy nix ci: add simple workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tfaoliveira-sb committed Apr 9, 2024
1 parent c6a181d commit 9c2966f
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/amd64-linux-main-deploy-nix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: amd64-linux-main

on:
workflow_dispatch:
push:
branches:
- feature/nix
pull_request:

jobs:

compile:
runs-on: [self-hosted, linux, X64, amd64-deploy-nix]
steps:
- name: checkout
uses: actions/checkout@v4

- name: compile
run: nix-shell --command "make -j$JOBS -C src/ CI=1 default"

- name: print logs
run: nix-shell --command "make -C src/ CI=1 reporter"

- name: return error if there are any errors
run: nix-shell --command "make -C src/ CI=1 err"

- name: libjade-logs-src.tar.gz - contains non-empty logs and errors
if: always()
uses: actions/upload-artifact@v4
with:
name: libjade-logs-src.tar.gz
path: src/libjade-logs-src.tar.gz

0 comments on commit 9c2966f

Please sign in to comment.