-
Notifications
You must be signed in to change notification settings - Fork 0
59 lines (57 loc) · 1.61 KB
/
firmware.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
name: ATtiny85APU assembly
on: [push]
jobs:
build_t85:
runs-on: ubuntu-latest
name: Assemble for the ATtiny85
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cache avra
uses: ./.github/actions/cache_avra
- name: Set path
run: |
echo "${{ github.workspace }}/opt/avra/bin" >> $GITHUB_PATH
- name: Build the firmware
run: make
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: attiny85apu_t85.hex
path: bin/avr/main.hex
build_t45:
runs-on: ubuntu-latest
name: Assemble for the ATtiny45
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cache avra
uses: ./.github/actions/cache_avra
- name: Set path
run: |
echo "${{ github.workspace }}/opt/avra/bin" >> $GITHUB_PATH
- name: Build the firmware
run: make ATTINY=45
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: attiny85apu_t45.hex
path: bin/avr/main.hex
build_t25:
runs-on: ubuntu-latest
name: Assemble for the ATtiny25
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cache avra
uses: ./.github/actions/cache_avra
- name: Set path
run: |
echo "${{ github.workspace }}/opt/avra/bin" >> $GITHUB_PATH
- name: Build the firmware
run: make ATTINY=25
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: attiny85apu_t25.hex
path: bin/avr/main.hex