-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (28 loc) · 1.02 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
name: Makefile CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install deps
run: sudo apt install nodejs
- name: Download XF1 firmware
run: cd ..; wget https://dl.fujifilm-x.com/support/firmware/xf1YbzzDmLK/FPUPDATE.DAT -O FPUPDATE-xf1.DAT
- name: XF1 patch tests
run: |
node cli.js ../FPUPDATE-xf1.DAT "increment version"
node cli.js ../FPUPDATE-xf1.DAT "increment version" "photo props dbg"
node cli.js ../FPUPDATE-xf1.DAT "increment version" "photo props quick"
- name: Download X-T20 firmware
run: cd ..; wget https://dl.fujifilm-x.com/support/firmware/x-t20-210-9cy17ibx/FWUP0013.DAT -O FPUPDATE-xt20.DAT
- name: X-T20 patch tests
run: |
node cli.js ../FPUPDATE-xt20.DAT "increment version"
node cli.js ../FPUPDATE-xt20.DAT "increment version" "direct ptp"
- name: Run FIRM_URL tests
run: node test.js