-
Notifications
You must be signed in to change notification settings - Fork 7
57 lines (56 loc) · 1.6 KB
/
build.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
on:
workflow_dispatch:
push:
paths:
- 'ergogen/footprints/*.js'
- 'ergogen/config.yaml'
- 'kibot/*.yaml'
- '.github/workflows/*.yaml'
- '.github/actions/*/action.yaml'
- 'package.json'
name: Build
jobs:
generate:
runs-on: ubuntu-latest
name: Generate
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Docker Cache
uses: ScribeMD/[email protected]
with:
key: docker-${{ runner.os }}
- name: Use Node.js 17
uses: actions/setup-node@v3
with:
node-version: 17.x
cache: 'npm'
- name: Install dependencies
run: npm install
- name: Generate unrouted PCBs with Ergogen (definition in package.json)
run: npm run build
- name: Run KiBot to generate images, gerbers for the plate files
uses: ./.github/actions/kibot
with:
boards: frontplate,backplate,controller_overlay,corney_island
- name: Export DSN file for Freerouting
uses: ./.github/actions/export-dsn
with:
boards: corney_island
# - name: Autoroute PCB
# uses: ./.github/actions/autoroute
# with:
# boards: corney_island
# - name: Import SES
# uses: ./.github/actions/import-ses
# with:
# boards: corney_island
# - name: DRC check
# uses: ./.github/actions/run-drc
# with:
# boards: corney_island
- name: Persist output
uses: actions/upload-artifact@v3
with:
name: corney_island_unrouted
path: ergogen/output