fix: build on linux/mips64 (#4899)

Also, add cross-compilation to CI. This includes all the archs we intend
to publish production binaries for.

`linux/mips64` was broken previously, and this is fixed by updating
github.com/shirou/gopsutil/v3 to the latest version.
This commit is contained in:
Aditya Manthramurthy
2024-04-11 17:36:42 -07:00
committed by GitHub
parent 6bac84d281
commit 76c3674200
4 changed files with 46 additions and 8 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ function _init() {
export CGO_ENABLED=0
## List of architectures and OS to test coss compilation.
SUPPORTED_OSARCH="linux/ppc64le linux/arm64 linux/s390x darwin/arm64 darwin/amd64 freebsd/amd64 windows/amd64 linux/arm linux/386 netbsd/amd64 openbsd/amd64"
SUPPORTED_OSARCH="linux/ppc64le linux/s390x linux/mips64 linux/amd64 windows/amd64 darwin/amd64 darwin/arm64 linux/arm64 linux/arm"
}
function _build() {