Merge pull request #772 from pguyot/w33/optimize-temp-stack #507
Workflow file for this run
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
# | |
# Copyright 2022 Paul Guyot <[email protected]> | |
# | |
# SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later | |
# | |
name: Pico Build | |
on: | |
push: | |
paths: | |
- '.github/workflows/**' | |
- 'CMakeLists.txt' | |
- 'libs/**' | |
- 'src/platforms/rp2040/**' | |
- 'src/libAtomVM/**' | |
pull_request: | |
paths: | |
- '.github/workflows/**' | |
- 'CMakeLists.txt' | |
- 'libs/**' | |
- 'src/platforms/rp2040/**' | |
- 'src/libAtomVM/**' | |
jobs: | |
pico: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: "Install deps" | |
run: sudo apt install -y cmake gperf ninja-build gcc-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib | |
- name: Build | |
shell: bash | |
working-directory: ./src/platforms/rp2040/ | |
run: | | |
set -euo pipefail | |
mkdir build | |
cd build | |
cmake .. -G Ninja | |
ninja |