summaryrefslogtreecommitdiffstats
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
authorJoey Castillo <joeycastillo@utexas.edu>2022-01-26 20:36:49 -0500
committerJoey Castillo <joeycastillo@utexas.edu>2022-01-26 20:36:49 -0500
commitfe5a3eecff0ca2fcaf5ac5eb00a8aa50b5064ece (patch)
tree7883e3f9a51eb8587f227b9ebe09d6554e989084 /.github/workflows/build.yml
parentf036d6a515b73400e7ea6dea09dfaf2a1ad0080a (diff)
parent5d5e5b125a383174f1891d37498415cc10fe84fe (diff)
downloadSensor-Watch-fe5a3eecff0ca2fcaf5ac5eb00a8aa50b5064ece.tar.gz
Sensor-Watch-fe5a3eecff0ca2fcaf5ac5eb00a8aa50b5064ece.tar.bz2
Sensor-Watch-fe5a3eecff0ca2fcaf5ac5eb00a8aa50b5064ece.zip
Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into main
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 93928721..4b1f6fab 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -28,3 +28,24 @@ jobs:
with:
name: watch.uf2
path: movement/make/build/watch.uf2
+
+ build-simulator:
+ container:
+ image: emscripten/emsdk
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+ - name: Compile movement
+ run: emmake make
+ working-directory: 'movement/make'
+ - name: Archive simulator build
+ working-directory: 'movement/make/build'
+ run: |
+ cp watch.html index.html
+ tar -czf simulator.tar.gz index.html watch.wasm watch.js
+ - name: Upload simulator build
+ uses: actions/upload-artifact@v2
+ with:
+ name: simulator.tar.gz
+ path: movement/make/build/simulator.tar.gz