File tree 2 files changed +17
-1
lines changed
2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,22 @@ builds:
35
35
# ARM
36
36
id : arduino_cli_arm
37
37
binary : arduino-cli
38
+ env :
39
+ - CGO_ENABLED=1
40
+ - CC=/usr/arm-linux-gnueabi/bin/cc
41
+ goos :
42
+ - linux
43
+ goarch :
44
+ - arm
45
+ goarm :
46
+ - 6
47
+ ldflags :
48
+ - -s -w -X github.com/arduino/arduino-cli/version.versionString={{.Tag}} -X github.com/arduino/arduino-cli/version.commit=={{ .ShortCommit }}
49
+ - " -extldflags '-static'"
50
+ -
51
+ # ARMv7
52
+ id : arduino_cli_armv7
53
+ binary : arduino-cli
38
54
env :
39
55
- CGO_ENABLED=1
40
56
- CC=/usr/arm-linux-gnueabihf/bin/cc
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ initArch() {
34
34
ARCH=$( uname -m)
35
35
case $ARCH in
36
36
armv5* ) ARCH=" armv5" ;;
37
- armv6* ) ARCH=" armv6 " ;;
37
+ armv6* ) ARCH=" ARMv6 " ;;
38
38
armv7* ) ARCH=" ARMv7" ;;
39
39
aarch64) ARCH=" ARM64" ;;
40
40
x86) ARCH=" 32bit" ;;
You can’t perform that action at this time.
0 commit comments