update submodules #1
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: GCC for ARM build | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
env: | |
GCC_VERSION: '9-2019-q4' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: 'recursive' | |
fetch-depth: 0 | |
- uses: actions/setup-node@v2-beta | |
with: | |
node-version: 'v12' | |
- name: Restore ARM GCC Cache | |
id: arm-gcc-cache | |
uses: actions/cache@v2 | |
with: | |
path: arm-gcc | |
key: ${{ runner.os }}-arm-gcc-${{ env.GCC_VERSION }} | |
- name: Install ARM GCC | |
if: steps.arm-gcc-cache.outputs.cache-hit != 'true' | |
uses: fiam/arm-none-eabi-gcc@v1 | |
with: | |
release: ${{ env.GCC_VERSION }} | |
directory: arm-gcc | |
- name: set PATH | |
run: echo "${{ github.workspace }}/arm-gcc/bin" >> $GITHUB_PATH | |
- name: make | |
run: make check-release | |
- name: Upload drop.uf2 | |
uses: actions/upload-artifact@v1 | |
with: | |
name: drop.uf2 | |
path: built/drop.uf2 | |
- name: Upload bootloader-update.uf2 | |
uses: actions/upload-artifact@v1 | |
with: | |
name: bootloader-update.uf2 | |
path: built/bootloader-update.uf2 |