Add ARM CI workflow

This commit is contained in:
Joel Auterson 2022-10-20 20:16:58 +01:00 committed by Behdad Esfahbod
parent c813f84235
commit 756b500018
1 changed files with 25 additions and 0 deletions

25
.github/workflows/arm-ci.yml vendored Normal file
View File

@ -0,0 +1,25 @@
name: arm
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
permissions:
contents: read
jobs:
arm-none-eabi:
runs-on: ubuntu-22.04
container:
image: devkitpro/devkitarm:latest
steps:
- uses: actions/checkout@v3
- name: Configure CMake
run: |
cmake -S . -B build \
-DCMAKE_CXX_FLAGS="-w -DHB_NO_MT" \
-DCMAKE_TOOLCHAIN_FILE=${DEVKITPRO}/cmake/3DS.cmake
- name: Build
run: cmake --build build