We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e63bd5f commit cb5dd0dCopy full SHA for cb5dd0d
1 file changed
.github/workflows/go.yml
@@ -0,0 +1,31 @@
1
+# Build for raspberry pi
2
+# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
3
+
4
+name: Build and upload for raspberry pi 0 w v1
5
6
+on:
7
+ push:
8
+ branches: [ "main" ]
9
+ pull_request:
10
11
12
+jobs:
13
+ build:
14
+ runs-on: ubuntu-latest
15
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+ - uses: actions/setup-go@v5
19
+ with:
20
+ go-version: '1.22' # Specify your desired Go version
21
+ - name: Build for linux/armV6
22
+ env:
23
+ CGO_ENABLED: 0
24
+ GOOS: linux
25
+ GOARCH: arm
26
+ GOARM: 6
27
+ run: go build -o simpleprint_linux_arm6
28
+ - uses: actions/upload-artifact@v4
29
30
+ name: Releases
31
+ path: simpleprint_linux_arm6
0 commit comments