Compile all ARM architectures
This commit is contained in:
parent
713b38e34c
commit
208cf9892d
2 changed files with 6 additions and 5 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1,5 +1,4 @@
|
||||||
miniflux-linux-amd64
|
miniflux-linux-amd64
|
||||||
miniflux-linux-arm64
|
miniflux-linux-arm*
|
||||||
miniflux-linux-arm
|
|
||||||
miniflux-darwin-amd64
|
miniflux-darwin-amd64
|
||||||
miniflux-test
|
miniflux-test
|
6
Makefile
6
Makefile
|
@ -12,8 +12,10 @@ linux:
|
||||||
|
|
||||||
linux-arm:
|
linux-arm:
|
||||||
@ go generate
|
@ go generate
|
||||||
@ GOOS=linux GOARCH=arm64 go build -ldflags="-X 'github.com/miniflux/miniflux/version.Version=$(VERSION)' -X 'github.com/miniflux/miniflux/version.BuildDate=$(BUILD_DATE)'" -o $(APP)-linux-arm64 main.go
|
@ GOOS=linux GOARCH=arm64 go build -ldflags="-X 'github.com/miniflux/miniflux/version.Version=$(VERSION)' -X 'github.com/miniflux/miniflux/version.BuildDate=$(BUILD_DATE)'" -o $(APP)-linux-armv8 main.go
|
||||||
@ GOOS=linux GOARCH=arm go build -ldflags="-X 'github.com/miniflux/miniflux/version.Version=$(VERSION)' -X 'github.com/miniflux/miniflux/version.BuildDate=$(BUILD_DATE)'" -o $(APP)-linux-arm main.go
|
@ GOOS=linux GOARCH=arm GOARM=7 go build -ldflags="-X 'github.com/miniflux/miniflux/version.Version=$(VERSION)' -X 'github.com/miniflux/miniflux/version.BuildDate=$(BUILD_DATE)'" -o $(APP)-linux-armv7 main.go
|
||||||
|
@ GOOS=linux GOARCH=arm GOARM=6 go build -ldflags="-X 'github.com/miniflux/miniflux/version.Version=$(VERSION)' -X 'github.com/miniflux/miniflux/version.BuildDate=$(BUILD_DATE)'" -o $(APP)-linux-armv6 main.go
|
||||||
|
@ GOOS=linux GOARCH=arm GOARM=5 go build -ldflags="-X 'github.com/miniflux/miniflux/version.Version=$(VERSION)' -X 'github.com/miniflux/miniflux/version.BuildDate=$(BUILD_DATE)'" -o $(APP)-linux-armv5 main.go
|
||||||
|
|
||||||
darwin:
|
darwin:
|
||||||
@ go generate
|
@ go generate
|
||||||
|
|
Loading…
Reference in a new issue