Fix CI flow #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: enter nix shell | |
run: nix develop | |
- name: compile | |
run: make -j$JOBS -C src/ CI=1 default | |
- name: print logs | |
run: make -C src/ CI=1 reporter | |
- name: return error if there are any errors | |
run: 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 | |