Show Loading... when previous calibration exists #111
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build binary | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/tinygo-org/tinygo:0.30.0 | |
options: --user root | |
steps: | |
- name: Prepare | |
run: | | |
apt-get update | |
apt-get install -y make | |
- name: Work around CVE-2022-24765 | |
# We're not on a multi-user machine, so this is safe. | |
run: git config --global --add safe.directory "$GITHUB_WORKSPACE" | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Dependencies | |
run: | | |
go mod tidy | |
- name: Build XIAO BLE Sense binary | |
run: make TARGET=xiao-ble build | |
- name: Build Nano 33 BLE binary | |
run: make TARGET=nano-33-ble-s140v6-uf2 build | |
- name: Store binaries | |
uses: actions/upload-artifact@v3 | |
with: | |
name: binaries | |
path: build/* | |
retention-days: 14 |