-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (30 loc) · 775 Bytes
/
CI.yml
File metadata and controls
33 lines (30 loc) · 775 Bytes
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
name: Test and build firmware
on:
release:
types: [ published ]
push:
pull_request:
jobs:
build_and_test:
runs-on: ubuntu-latest
container:
image: fedora:43
steps:
- uses: actions/checkout@v4
- name: install dependencies
run: |
dnf update -y && dnf install -y iverilog icestorm yosys nextpnr python3-pip git
pip install uv
- name: run tests
run: |
uv venv
uv pip install -e .[dev]
uv run pytest
- name: build firmware
run: |
uv run python -m asic_counter.top --channels-count 10
- name: Save firmware as artifact
uses: actions/upload-artifact@v4
with:
name: ASIC_Counter-firmware
path: build