Update Submodules #11
This file contains 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 at GHA | |
on: [ push, pull_request ] | |
jobs: | |
build-firmware: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
# Build machines don't have arm-none-eabi gcc, so let's download it and put it on the path | |
- name: Download & Install GCC | |
if: ${{ env.skip != 'true' }} | |
env: | |
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true' | |
run: | | |
ext/rusefi/firmware/provide_gcc.sh | |
echo "::add-path::`pwd`/gcc-arm-none-eabi/bin" | |
- name: 1. Compile | |
run: | | |
bash compile.sh |