Skip to content

Merge pull request #773 from pguyot/w33/reduce-lock-contention-on-mod… #508

Merge pull request #773 from pguyot/w33/reduce-lock-contention-on-mod…

Merge pull request #773 from pguyot/w33/reduce-lock-contention-on-mod… #508

Workflow file for this run

#
# 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