Skip to content

Commit

Permalink
ci: Cleaner Verilator install (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanuppal authored Feb 22, 2025
1 parent c8c0cb1 commit ed06192
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 13 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,13 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- name: Install verilator
run: make install_verilator
- name: Install Verilator
run: |
if [[ "$(uname)" == 'Darwin' ]]; then
brew install verilator
else
sudo apt-get install -y verilator
fi
- name: Manual test
run: |
cd examples/verilog-project
Expand All @@ -42,8 +47,13 @@ jobs:
- uses: actions/checkout@v4
- name: Rust Caching
uses: Swatinem/rust-cache@v2
- name: Install verilator
run: make install_verilator
- name: Install Verilator
run: |
if [[ "$(uname)" == 'Darwin' ]]; then
brew install verilator
else
sudo apt-get install -y verilator
fi
- name: Install swim
run: cargo install --locked --git https://gitlab.com/spade-lang/swim --rev 639c5d88db76ef3454af4feef842c37985ca1943
- name: Test
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ target/
**/artifacts2/
**/artifacts3/
docs/
version.txt
8 changes: 0 additions & 8 deletions Makefile

This file was deleted.

1 change: 0 additions & 1 deletion version.txt

This file was deleted.

0 comments on commit ed06192

Please sign in to comment.