Skip to content

Commit

Permalink
Pebble DB issues scoping down to arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
maxpert committed Sep 11, 2022
1 parent 6a23d7a commit b0a4e59
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 19 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,24 +30,6 @@ jobs:
cc: aarch64-linux-gnu-gcc
static: true

- arch: arm
arm: 6
cc: arm-linux-gnueabi-gcc

- arch: arm
arm: 6
cc: arm-linux-gnueabi-gcc
static: true

- arch: arm
arm: 7
cc: arm-linux-gnueabihf-gcc

- arch: arm
arm: 7
cc: arm-linux-gnueabihf-gcc
static: true

env:
GOOS: linux
GOARCH: ${{ matrix.arch }}
Expand Down
8 changes: 7 additions & 1 deletion build-linux.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#!/bin/sh

docker run --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp -e CGO_ENABLED=1 -e GOARCH=amd64 golang:1.18 go build -v -o build/marmot-linux-amd64 marmot.go
# docker run --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp -e CGO_ENABLED=1 -e GOARCH=amd64 golang:1.18 go build -v -o build/marmot-linux-amd64 marmot.go

CC=x86_64-linux-musl-gcc \
CXX=x86_64-linux-musl-g++ \
GOARCH=amd64 GOOS=linux CGO_ENABLED=1 \
go build -ldflags "-linkmode external -extldflags -static" -o dist/marmot-linux-amd64 .

0 comments on commit b0a4e59

Please sign in to comment.