-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (39 loc) · 1.02 KB
/
ci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: CI
on:
pull_request:
push:
branches:
- main
env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
jobs:
test_verilog:
strategy:
matrix:
os: [ubuntu-latest, macos-15]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Rust Caching
uses: Swatinem/rust-cache@v2
- name: Install verilator
run: make install_verilator
- run: ls
- name: Test
run: cd verilog-support/example-verilog-project && cargo run -p example-verilog-project
test_spade:
strategy:
matrix:
os: [ubuntu-latest, macos-15]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Rust Caching
uses: Swatinem/rust-cache@v2
- name: Install verilator
run: make install_verilator
- name: Install swim
run: cargo install --locked --git https://gitlab.com/spade-lang/swim
- name: Test
run: cd spade-support/example-spade-project && cargo run -p example-spade-project