Skip to content

Commit

Permalink
Add 'arm64' support
Browse files Browse the repository at this point in the history
  • Loading branch information
myhro committed Dec 19, 2021
1 parent db798ef commit 52ad99f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
os: linux
- arch: arm
os: linux
- arch: arm64
os: linux
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
Expand Down Expand Up @@ -50,3 +52,4 @@ jobs:
dist/staticd-darwin-amd64
dist/staticd-linux-amd64
dist/staticd-linux-arm
dist/staticd-linux-arm64
6 changes: 6 additions & 0 deletions tables/arch.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ var Arch = map[string]map[string]map[string]string{
"linux": {
"amd64": "x86_64",
"arm": "arm",
"arm64": "aarch64",
},
},
Bottom: {
Expand All @@ -17,6 +18,7 @@ var Arch = map[string]map[string]map[string]string{
"linux": {
"amd64": "x86_64",
"arm": "armv7",
"arm64": "aarch64",
},
},
Cloudflared: {
Expand All @@ -26,12 +28,14 @@ var Arch = map[string]map[string]map[string]string{
"linux": {
"amd64": "amd64",
"arm": "arm",
"arm64": "arm64",
},
},
DockerCompose: {
"linux": {
"amd64": "x86_64",
"arm": "armv7",
"arm64": "aarch64",
},
},
K9s: {
Expand All @@ -41,12 +45,14 @@ var Arch = map[string]map[string]map[string]string{
"linux": {
"amd64": "x86_64",
"arm": "arm",
"arm64": "arm64",
},
},
UPX: {
"linux": {
"amd64": "amd64",
"arm": "arm",
"arm64": "arm64",
},
},
Xh: {
Expand Down
6 changes: 6 additions & 0 deletions tables/os.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ var OS = map[string]map[string]map[string]string{
"linux": {
"amd64": "unknown-linux-gnu",
"arm": "unknown-linux-gnueabihf",
"arm64": "unknown-linux-gnu",
},
},
Bottom: {
Expand All @@ -17,6 +18,7 @@ var OS = map[string]map[string]map[string]string{
"linux": {
"amd64": "unknown-linux-gnu",
"arm": "unknown-linux-gnueabihf",
"arm64": "unknown-linux-gnu",
},
},
Cloudflared: {
Expand All @@ -26,12 +28,14 @@ var OS = map[string]map[string]map[string]string{
"linux": {
"amd64": "linux",
"arm": "linux",
"arm64": "linux",
},
},
DockerCompose: {
"linux": {
"amd64": "linux",
"arm": "linux",
"arm64": "linux",
},
},
K9s: {
Expand All @@ -41,12 +45,14 @@ var OS = map[string]map[string]map[string]string{
"linux": {
"amd64": "Linux",
"arm": "Linux",
"arm64": "Linux",
},
},
UPX: {
"linux": {
"amd64": "linux",
"arm": "linux",
"arm64": "linux",
},
},
Xh: {
Expand Down

0 comments on commit 52ad99f

Please sign in to comment.