summaryrefslogtreecommitdiffstats
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
authorWillian Paixao <willian@ufpa.br>2021-12-11 21:29:27 +0100
committerWillian Paixao <willian@ufpa.br>2021-12-11 22:10:04 +0100
commit9a7582222c4dad5e6b0330136733c70c193cda00 (patch)
treea6922bbfa1d410f320043aefaa5beb5fd7d69c77 /.github/workflows/build.yml
parentcb983acf9f6b8b3bc6ae836284d736b939faf507 (diff)
downloadSensor-Watch-9a7582222c4dad5e6b0330136733c70c193cda00.tar.gz
Sensor-Watch-9a7582222c4dad5e6b0330136733c70c193cda00.tar.bz2
Sensor-Watch-9a7582222c4dad5e6b0330136733c70c193cda00.zip
add github pages pipeline
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml27
1 files changed, 27 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 00000000..1eab21fc
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,27 @@
+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: Upload UF2
+ uses: actions/upload-artifact@v2
+ with:
+ name: watch.uf2
+ path: apps/**/build/watch.uf2