Simple working static status #79
Workflow file for this run
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: Build/Test checks | |
on: | |
workflow_dispatch: | |
push: | |
pull_request: | |
jobs: | |
check_nix_build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v27 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- run: nix build . | |
check_linux_build: | |
runs-on: ubuntu-latest | |
steps: | |
- run: sudo apt install make gcc # Add more deps when needed | |
- run: gcc --version | |
- uses: actions/checkout@v4 | |
- run: make | |
# TODO: | |
check_linux_test: | |
runs-on: ubuntu-latest | |
needs: check_linux_build | |
steps: | |
- run: sudo apt install make gcc libcriterion-dev # Add more deps when needed | |
- run: gcc --version | |
- uses: actions/checkout@v4 | |
- run: ASAN=1 make tests_run | |
# TODO: Export test coverage |