forked from orbcode/orbtrace
-
Notifications
You must be signed in to change notification settings - Fork 0
60 lines (56 loc) · 2.11 KB
/
build.yml
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name: build
on:
push:
pull_request:
jobs:
orbtrace_mini:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- run: git fetch --prune --unshallow --no-recurse-submodules
- uses: YosysHQ/setup-oss-cad-suite@v2
- uses: gregdavill/[email protected]
- run: python3 -m pip install wheel construct meson ninja setuptools setuptools_scm Jinja2
- run: ./orbtrace_builder.py --platform orbtrace_mini --build
- uses: actions/upload-artifact@v3
with:
name: orbtrace_mini
path: |
build/orbtrace_mini/gateware/orbtrace_mini.bit
build/orbtrace_mini/gateware/csr.csv
orbtrace_mini_dfu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- run: git fetch --prune --unshallow --no-recurse-submodules
- uses: YosysHQ/setup-oss-cad-suite@v2
- uses: gregdavill/[email protected]
- run: python3 -m pip install wheel construct meson ninja setuptools setuptools_scm Jinja2
- run: ./orbtrace_builder.py --platform orbtrace_mini --profile dfu --build
- uses: actions/upload-artifact@v3
with:
name: orbtrace_mini_dfu
path: |
build/orbtrace_mini_dfu/gateware/orbtrace_mini.bit
build/orbtrace_mini_dfu/gateware/csr.csv
orbtrace_mini_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- run: git fetch --prune --unshallow --no-recurse-submodules
- uses: YosysHQ/setup-oss-cad-suite@v2
- uses: gregdavill/[email protected]
- run: python3 -m pip install wheel construct meson ninja setuptools setuptools_scm Jinja2
- run: ./orbtrace_builder.py --platform orbtrace_mini --profile test --build
- uses: actions/upload-artifact@v3
with:
name: orbtrace_mini_test
path: |
build/orbtrace_mini_test/gateware/orbtrace_mini.bit
build/orbtrace_mini_test/gateware/csr.csv