This repository has been archived by the owner on Sep 6, 2024. It is now read-only.
Co-authored-by: Jasper Laumen <[email protected]> #97
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: "CI pipeline" | |
on: | |
push: | |
pull_request: | |
jobs: | |
linting: | |
runs-on: ubuntu-latest | |
steps: | |
- name: git checkout | |
uses: actions/checkout@v4 | |
- name: Whitespace file endings | |
run: | | |
.ci/test_whitespace.sh | |
build_and_synthesize: | |
runs-on: ubuntu-latest | |
steps: | |
- name: git checkout | |
uses: actions/checkout@v4 | |
- name: install nix | |
uses: cachix/install-nix-action@v22 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- name: cache nix | |
uses: DeterminateSystems/magic-nix-cache-action@v2 | |
- name: build the nix environment | |
run: nix-build | |
- name: Test suite | |
run: nix-shell --run "make test" | |
- name: Test synthesis | |
run: nix-shell --run "make verilog" | |
- name: Create netlist | |
run: nix-shell --run "make netlist" | |
- name: Create Place and Route | |
run: nix-shell --run "make pnr" |