Fix branch name #2
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 Mbed CE Arduino Cores | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
strategy: | |
matrix: | |
mbed_target: | |
- ARDUINO_NANO33BLE | |
- RASPBERRY_PI_PICO | |
cmake_build_type: | |
- Debug | |
- Release | |
runs-on: ubuntu-latest | |
container: ghcr.io/armmbed/mbed-os-env:master-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Dependencies | |
run: | | |
sudo apt-get update | |
xargs sudo apt-get install -y < mbed-os/tools/requirements.apt.txt | |
- name: Build | |
mkdir build | |
cd build | |
cmake .. -DCMAKE_BUILD_TYPE=${{ matrix.cmake_build_type }} -DMBED_TARGET=${{ matrix.mbed_target }} -DUPLOAD_METHOD=NONE | |
ninja | |
- name: Archive artifacts |