46 lines
1.0 KiB
YAML
46 lines
1.0 KiB
YAML
name: Proteus F7 Firmware on macos-latest
|
|
|
|
on:
|
|
# realpath drama sorry push:
|
|
# realpath drama sorry pull_request:
|
|
workflow_dispatch:
|
|
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: macos-13
|
|
|
|
steps:
|
|
- uses: actions/setup-java@v4
|
|
with:
|
|
distribution: 'zulu'
|
|
java-version: '17'
|
|
|
|
- uses: carlosperate/arm-none-eabi-gcc-action@v1
|
|
with:
|
|
release: '12.3.Rel1' # 13 fails overloaded-virtual
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Checkout Submodules
|
|
run: |
|
|
misc/git_scripts/common_submodule_init.sh
|
|
|
|
- name: Install required software (macos)
|
|
run: |
|
|
brew install mtools zip dosfstools flock coreutils
|
|
|
|
- name: Print realpath version
|
|
run: realpath --version
|
|
|
|
- name: Print bash version
|
|
run: bash --version
|
|
|
|
- name: Test Java Compiler
|
|
run: javac -version
|
|
|
|
- name: Build Firmware
|
|
if: ${{ env.skip != 'true' }}
|
|
working-directory: ./firmware/config/boards/proteus
|
|
run: ./compile_proteus_f7.sh
|