-
Notifications
You must be signed in to change notification settings - Fork 11
42 lines (37 loc) · 928 Bytes
/
Copy pathbuild.yaml
File metadata and controls
42 lines (37 loc) · 928 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
34
35
36
37
38
39
40
41
42
name: build
# either manually started, or on a schedule
on: [ push, workflow_dispatch ]
jobs:
build:
# ubuntu
runs-on: ubuntu-latest
steps:
# need the repo checked out
- name: checkout repo
uses: actions/checkout@v4
with:
submodules: recursive
- name: Checkout uf2-utils
uses: actions/checkout@v4
with:
repository: tinyvision-ai-inc/uf2-utils
path: uf2-utils
- name: Install uf2-utils
run: |
cd uf2-utils
make
make install
# install oss fpga tools
- name: install oss-cad-suite
uses: YosysHQ/setup-oss-cad-suite@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- run: |
yosys --version
nextpnr-ice40 --version
- name: build
run: |
cd pico_ice && make
- name: stats
run: |
cd pico_ice && make stats >> $GITHUB_STEP_SUMMARY