tle9201: do not overflow when generating name #993
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Firmware on Windows | |
| on: | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: windows-2022 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: ./.github/actions/setup-java | |
| - uses: carlosperate/arm-none-eabi-gcc-action@v1.12.3 | |
| with: | |
| release: '14.2.Rel1' | |
| - name: Checkout Submodules | |
| # todo: some funny way to reuse common_submodule_init_without_chibios.sh on Windows? | |
| 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 | |
| git submodule update --init --depth=1 firmware/ext/magic_enum | |
| - 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 |