mirror of
https://github.com/firewalkwithm3/Sensor-Watch.git
synced 2024-11-22 19:20:30 +08:00
31 lines
724 B
YAML
31 lines
724 B
YAML
name: Build
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches-ignore:
|
|
- gh-pages
|
|
|
|
jobs:
|
|
build:
|
|
container:
|
|
image: ghcr.io/armmbed/mbed-os-env:latest
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
- name: Compile starter-project app
|
|
run: make
|
|
working-directory: 'apps/starter-project'
|
|
- name: Compile accelerometer-test app
|
|
run: make
|
|
working-directory: 'apps/accelerometer-test'
|
|
- name: Compile movement
|
|
run: make
|
|
working-directory: 'movement/make'
|
|
- name: Upload UF2
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: watch.uf2
|
|
path: movement/make/build/watch.uf2
|