diff options
| author | Joey Castillo <joeycastillo@utexas.edu> | 2022-01-04 15:38:42 -0500 |
|---|---|---|
| committer | Joey Castillo <joeycastillo@utexas.edu> | 2022-01-04 15:38:42 -0500 |
| commit | c5ecf1dabdc66818892f37f37bf75cb39d93b5f7 (patch) | |
| tree | dd054cdb73b1dee7f4c34f43f50b2711fec35f8e /.github/workflows | |
| parent | 16ac7534c4f5f0b13c2609c26a139e6df3139170 (diff) | |
| parent | 311cfdb5f45cab25053d7a188a2eb30e2c5e781b (diff) | |
| download | Sensor-Watch-c5ecf1dabdc66818892f37f37bf75cb39d93b5f7.tar.gz Sensor-Watch-c5ecf1dabdc66818892f37f37bf75cb39d93b5f7.tar.bz2 Sensor-Watch-c5ecf1dabdc66818892f37f37bf75cb39d93b5f7.zip | |
Merge branch 'main' of https://github.com/joeycastillo/Sensor-Watch into main
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/build.yml | 27 | ||||
| -rw-r--r-- | .github/workflows/gh-pages.yml | 21 |
2 files changed, 48 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 diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml new file mode 100644 index 00000000..cab1c2d1 --- /dev/null +++ b/.github/workflows/gh-pages.yml @@ -0,0 +1,21 @@ +name: GitHub Pages + +on: + push: + branches: + - main + +jobs: + gh-pages: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Doxygen Action + uses: mattnotmitt/doxygen-action@v1 + - name: Deploy + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_branch: gh-pages + publish_dir: docs/ |
