2022-10-20 21:16:58 +02:00
|
|
|
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_TOOLCHAIN_FILE=${DEVKITPRO}/cmake/3DS.cmake
|
|
|
|
- name: Build
|
2022-10-20 21:59:12 +02:00
|
|
|
run: make CXXFLAGS="-w -DHB_NO_MT"
|
|
|
|
working-directory: /src/build
|