Skip to content

Commit b3e45aa

Browse files
committed
ci: add GH Actions workflow to build binaries
1 parent c22d182 commit b3e45aa

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/build.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Build Pi software
2+
3+
on:
4+
push: {}
5+
pull_request: {}
6+
workflow_dispatch: {}
7+
8+
jobs:
9+
build:
10+
name: Build
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Check out sources
14+
uses: actions/checkout@v6
15+
with:
16+
sparse-checkout: |
17+
Software
18+
19+
- name: Set up Docker Buildx
20+
uses: docker/setup-buildx-action@v3
21+
22+
- name: Build binary
23+
run: ./build-rpi.sh
24+
working-directory: Software
25+
26+
- name: Upload binary
27+
uses: actions/upload-artifact@v6
28+
with:
29+
name: phone-bell-software-arm64
30+
path: Software/phone-bell-software-arm64
31+
if-no-files-found: error
32+
compression-level: 0

0 commit comments

Comments
 (0)