This repository has been archived by the owner on Sep 3, 2024. It is now read-only.
Merge pull request #6 from nblei/countones #63
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: Regression | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
- uses: Swatinem/rust-cache@v2 | |
- name: Setup veryl | |
run: cargo install --git https://github.com/veryl-lang/veryl veryl | |
- name: Format check | |
run: veryl fmt --check | |
- name: Build check | |
run: veryl check | |
test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
- uses: Swatinem/rust-cache@v2 | |
- name: Setup veryl | |
run: cargo install --git https://github.com/veryl-lang/veryl veryl | |
- name: Setup verilator | |
uses: veryl-lang/setup-verilator@v1 | |
- name: Test | |
run: veryl test --sim verilator |