2023-11-09 09:46:21 -08:00
|
|
|
name: Firmware on Windows
|
|
|
|
|
2024-03-09 03:45:15 -08:00
|
|
|
on:
|
2024-03-09 03:49:59 -08:00
|
|
|
push:
|
|
|
|
pull_request:
|
2024-03-09 03:45:15 -08:00
|
|
|
workflow_dispatch:
|
2023-11-09 09:46:21 -08:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: windows-2019
|
|
|
|
|
|
|
|
steps:
|
2023-11-30 00:06:18 -08:00
|
|
|
- uses: actions/setup-java@v4
|
2023-11-09 09:46:21 -08:00
|
|
|
with:
|
|
|
|
distribution: 'zulu'
|
|
|
|
java-version: '11'
|
|
|
|
|
|
|
|
- uses: carlosperate/arm-none-eabi-gcc-action@v1
|
|
|
|
with:
|
2024-01-02 14:34:33 -08:00
|
|
|
release: '12.3.Rel1' # 13 fails overloaded-virtual
|
2023-11-09 09:46:21 -08:00
|
|
|
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
|
|
|
|
- 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
|
2023-12-15 08:55:25 -08:00
|
|
|
git submodule update --init --depth=1 java_console/peak-can-basic
|
2023-11-09 09:46:21 -08:00
|
|
|
|
2024-02-25 14:51:45 -08:00
|
|
|
- name: Set up Cygwin
|
|
|
|
uses: cygwin/cygwin-install-action@master
|
2023-11-09 09:46:21 -08:00
|
|
|
|
|
|
|
- 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
|
|
|
|
working-directory: firmware
|
2023-12-15 08:55:25 -08:00
|
|
|
run: make -j4
|