Update toolchain to a version with python3 support #54
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: Build | |
on: push | |
jobs: | |
build_debug: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/jensboe/arm-cortex-build:v1.3.0 | |
steps: | |
- name: Checkout | |
uses: actions/Checkout@v4 | |
with: | |
submodules: 'true' | |
- name: Build | |
run: | | |
cmake --preset debug_arm | |
cmake --build --preset debug | |
- uses: actions/upload-artifact@v3 | |
if: | |
with: | |
name: Debug | |
path: | | |
build/**/*.bin | |
build/**/*.elf | |
build/**/*.hex | |
build/**/*.a | |
build/**/*.map | |
!build/CMakeFiles | |
build_release: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/jensboe/arm-cortex-build:v1.3.0 | |
steps: | |
- name: Checkout | |
uses: actions/Checkout@v4 | |
with: | |
submodules: 'true' | |
- name: Build | |
run: | | |
cmake --preset release_arm | |
cmake --build --preset release | |
- uses: actions/upload-artifact@v3 | |
if: | |
with: | |
name: Release | |
path: | | |
build/**/*.bin | |
build/**/*.elf | |
build/**/*.hex | |
build/**/*.a | |
build/**/*.map | |
!build/CMakeFiles | |
build_unix: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/jensboe/arm-cortex-build:v1.3.0 | |
steps: | |
- name: Checkout | |
uses: actions/Checkout@v4 | |
with: | |
submodules: 'true' | |
- name: Build | |
run: | | |
cmake --preset unix | |
cmake --build --preset unix | |
- uses: actions/upload-artifact@v3 | |
if: | |
with: | |
name: Unix | |
path: | | |
build/unix/tests/test_playground/test_playground | |