summaryrefslogtreecommitdiffstats
path: root/.github/workflows/build.yml
blob: 93928721463bc8f64f49d17e2520150160841d7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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