Skip to content

Commit 131ae3d

Browse files
authored
Add linux arm binary, update deps (#16)
Addresses #15
1 parent ddcd399 commit 131ae3d

File tree

4 files changed

+16
-9
lines changed

4 files changed

+16
-9
lines changed

.circleci/config.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 2.1
33
jobs:
44
build:
55
docker:
6-
- image: cimg/go:1.18.1
6+
- image: cimg/go:1.19
77
steps:
88
- checkout
99
- restore_cache:
@@ -12,6 +12,11 @@ jobs:
1212
- run:
1313
name: Build linux binary
1414
command: go build -o linux-amd64/pod-babashka-fswatcher main.go
15+
- run:
16+
name: Build linux ARM64 binary
17+
environment:
18+
GOARCH: arm64
19+
command: go build -o linux-aarch64/pod-babashka-fswatcher main.go
1520
- run:
1621
name: Build mac binary
1722
environment:
@@ -44,6 +49,7 @@ jobs:
4449
mkdir release
4550
4651
zip -j "release/pod-babashka-fswatcher-$VERSION-linux-amd64.zip" linux-amd64/pod-babashka-fswatcher
52+
zip -j "release/pod-babashka-fswatcher-$VERSION-linux-aarch64.zip" linux-aarch64/pod-babashka-fswatcher
4753
zip -j "release/pod-babashka-fswatcher-$VERSION-macos-amd64.zip" macos-amd64/pod-babashka-fswatcher
4854
zip -j "release/pod-babashka-fswatcher-$VERSION-windows-amd64.zip" windows-amd64/pod-babashka-fswatcher.exe
4955
- store_artifacts:

go.mod

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ module github.com/babashka/pod-babashka-fswatcher
33
go 1.18
44

55
require (
6-
github.com/fsnotify/fsnotify v1.5.4
6+
github.com/fsnotify/fsnotify v1.6.0
77
github.com/jackpal/bencode-go v1.0.0
8-
golang.org/x/sys v0.0.0-20220503163025-988cb79eb6c6 // indirect
98
)
9+
10+
require golang.org/x/sys v0.2.0 // indirect

go.sum

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
github.com/fsnotify/fsnotify v1.5.4 h1:jRbGcIw6P2Meqdwuo0H1p6JVLbL5DHKAKlYndzMwVZI=
2-
github.com/fsnotify/fsnotify v1.5.4/go.mod h1:OVB6XrOHzAwXMpEM7uPOzcehqUV2UqJxmVXmkdnm1bU=
1+
github.com/fsnotify/fsnotify v1.6.0 h1:n+5WquG0fcWoWp6xPWfHdbskMCQaFnG6PfBrh1Ky4HY=
2+
github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbSClcnxKAGw=
33
github.com/jackpal/bencode-go v1.0.0 h1:lzbSPPqqSfWQnqVNe/BBY1NXdDpncArxShL10+fmFus=
44
github.com/jackpal/bencode-go v1.0.0/go.mod h1:5FSBQ74yhCl5oQ+QxRPYzWMONFnxbL68/23eezsBI5c=
5-
golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
6-
golang.org/x/sys v0.0.0-20220503163025-988cb79eb6c6 h1:nonptSpoQ4vQjyraW20DXPAglgQfVnM9ZC6MmNLMR60=
7-
golang.org/x/sys v0.0.0-20220503163025-988cb79eb6c6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
5+
golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
6+
golang.org/x/sys v0.2.0 h1:ljd4t30dBnAvMZaQCevtY0xLLD0A+bRZXbgLMLU1F/A=
7+
golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.0.3
1+
0.0.4

0 commit comments

Comments
 (0)