-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (32 loc) · 1.11 KB
/
main.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
name: Run all tests
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Install asxxxx
run: |
wget --no-verbose https://github.com/6502org/6502.org/raw/74f5d0c0f9b73d5e353bde7b3b25ea7f43b527a1/public/tools/asm/asxs5p50.zip
unzip -q asxs5p50.zip
make -C asxv5pxx/asxmak/linux/build all
echo "$PWD/asxv5pxx/asxmak/linux/build" >> $GITHUB_PATH
- name: Install srecord
run: sudo apt-get install srecord
- name: Build the firmware (Attiny212 version)
run: |
make -C firmware/ MCU=t212
cat firmware/redundant12v_t212_flash.lst
cat firmware/redundant12v_t212_fuses.lst
- name: Build the firmware (Attiny412 version)
run: |
make -C firmware/ MCU=t412
cat firmware/redundant12v_t412_flash.lst
cat firmware/redundant12v_t412_fuses.lst
- name: 'Upload build artifacts'
uses: actions/upload-artifact@v3
with:
name: build-artifacts
path: |
firmware/redundant12v_*_flash.*
firmware/redundant12v_*_fuses.*