changed target board for workflow #61
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: CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: ghcr.io/armmbed/mbed-os-env:mbed-os-6.15-latest | |
strategy: | |
matrix: | |
# The list of projects to run on. This should just run for each dir that includes a mbed_app.json | |
project: [bms] | |
# The build profile to run on | |
profile: [debug, release] | |
# The mbed target to build for | |
target: [NUCLEO_L432KC] | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@v2 | |
# Install dependencies for all projects | |
- name: Install dependencies | |
shell: bash | |
run: | | |
cd ${{ matrix.project }} | |
make deps | |
# Compile all projects | |
- name: Compile | |
shell: bash | |
run: | | |
cd ${{ matrix.project }} | |
make build |