forked from rusefi/rusefi
-
Notifications
You must be signed in to change notification settings - Fork 0
59 lines (46 loc) · 1.65 KB
/
Copy pathbuild-firmware-windows.yaml
File metadata and controls
59 lines (46 loc) · 1.65 KB
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: Firmware on Windows
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: windows-2022
steps:
- uses: actions/setup-java@v5
with:
distribution: 'zulu'
java-version: '17'
- uses: actions/setup-java@v5
with:
distribution: 'zulu'
java-version: '17'
- uses: carlosperate/arm-none-eabi-gcc-action@v1.12.1
with:
release: '14.2.Rel1'
- uses: actions/checkout@v6
- name: Checkout Submodules
run: |
git submodule update --init --depth=1 firmware/ChibiOS
git submodule update --init --depth=1 firmware/ChibiOS-Contrib
git submodule update --init --depth=1 firmware/libfirmware
git submodule update --init --depth=1 firmware/ext/lua
git submodule update --init --depth=1 firmware/ext/uzlib
git submodule update --init --depth=1 firmware/ext/openblt
git submodule update --init --depth=1 firmware/controllers/lua/luaaa
git submodule update --init --depth=1 firmware/controllers/can/wideband_firmware
git submodule update --init --depth=1 java_console/luaformatter
git submodule update --init --depth=1 java_console/peak-can-basic
- name: Set up Cygwin
uses: cygwin/cygwin-install-action@v6
- name: Print bash version
run: bash --version
- name: Test Java Compiler
run: javac -version
- name: Print arm GCC version
run: arm-none-eabi-gcc -v
- name: Print make version
run: make -v
- name: Compile Firmware
working-directory: firmware
run: make -j4