Skip to content

Commit

Permalink
Drop 32-bit ARM support
Browse files Browse the repository at this point in the history
  • Loading branch information
myhro committed Apr 18, 2023
1 parent b751f70 commit dafb7e5
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 58 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ jobs:
os: darwin
- arch: amd64
os: linux
- arch: arm
os: linux
- arch: arm64
os: linux
steps:
Expand Down Expand Up @@ -55,7 +53,6 @@ jobs:
files: |
dist/staticd-darwin-amd64
dist/staticd-linux-amd64
dist/staticd-linux-arm
dist/staticd-linux-arm64
prerelease: true
- uses: softprops/action-gh-release@v1
Expand All @@ -64,5 +61,4 @@ jobs:
files: |
dist/staticd-darwin-amd64
dist/staticd-linux-amd64
dist/staticd-linux-arm
dist/staticd-linux-arm64
7 changes: 0 additions & 7 deletions tables/arch.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ var Arch = map[string]map[string]map[string]string{
},
"linux": {
"amd64": "x86_64",
"arm": "arm",
"arm64": "aarch64",
},
},
Expand All @@ -17,7 +16,6 @@ var Arch = map[string]map[string]map[string]string{
},
"linux": {
"amd64": "x86_64",
"arm": "armv7",
"arm64": "aarch64",
},
},
Expand All @@ -27,7 +25,6 @@ var Arch = map[string]map[string]map[string]string{
},
"linux": {
"amd64": "amd64",
"arm": "arm",
"arm64": "arm64",
},
},
Expand All @@ -47,14 +44,12 @@ 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",
},
},
Expand All @@ -64,7 +59,6 @@ var Arch = map[string]map[string]map[string]string{
},
"linux": {
"amd64": "x86_64",
"arm": "arm",
"arm64": "aarch64",
},
},
Expand All @@ -74,7 +68,6 @@ var Arch = map[string]map[string]map[string]string{
},
"linux": {
"amd64": "",
"arm": "arm-v7",
"arm64": "arm64",
},
},
Expand Down
7 changes: 0 additions & 7 deletions tables/os.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ var OS = map[string]map[string]map[string]string{
},
"linux": {
"amd64": "unknown-linux-gnu",
"arm": "unknown-linux-gnueabihf",
"arm64": "unknown-linux-gnu",
},
},
Expand All @@ -17,7 +16,6 @@ var OS = map[string]map[string]map[string]string{
},
"linux": {
"amd64": "unknown-linux-gnu",
"arm": "unknown-linux-gnueabihf",
"arm64": "unknown-linux-gnu",
},
},
Expand All @@ -27,7 +25,6 @@ var OS = map[string]map[string]map[string]string{
},
"linux": {
"amd64": "linux",
"arm": "linux",
"arm64": "linux",
},
},
Expand All @@ -47,14 +44,12 @@ var OS = map[string]map[string]map[string]string{
},
"linux": {
"amd64": "Linux",
"arm": "Linux",
"arm64": "Linux",
},
},
UPX: {
"linux": {
"amd64": "linux",
"arm": "linux",
"arm64": "linux",
},
},
Expand All @@ -64,7 +59,6 @@ var OS = map[string]map[string]map[string]string{
},
"linux": {
"amd64": "unknown-linux-musl",
"arm": "unknown-linux-gnueabihf",
"arm64": "unknown-linux-musl",
},
},
Expand All @@ -74,7 +68,6 @@ var OS = map[string]map[string]map[string]string{
},
"linux": {
"amd64": "linux",
"arm": "linux",
"arm64": "linux",
},
},
Expand Down
9 changes: 0 additions & 9 deletions tools/asset_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,15 +251,6 @@ func (s *AssetTestSuite) TestName() {
os: "linux",
name: "yj-linux",
},
{
tool: &Tool{
Name: Yj,
Version: "v5.0.0",
},
arch: "arm",
os: "linux",
name: "yj-linux-arm-v7",
},
}

for _, tt := range table {
Expand Down
32 changes: 1 addition & 31 deletions tools/runtime_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@ func (s *RuntimeTestSuite) TestBatRuntime() {
archOut: "x86_64",
osOut: "apple-darwin",
},
{
arch: "arm",
os: "linux",
archOut: "arm",
osOut: "unknown-linux-gnueabihf",
},
}

for _, tt := range table {
Expand Down Expand Up @@ -71,12 +65,6 @@ func (s *RuntimeTestSuite) TestBottomRuntime() {
archOut: "x86_64",
osOut: "apple-darwin",
},
{
arch: "arm",
os: "linux",
archOut: "armv7",
osOut: "unknown-linux-gnueabihf",
},
}

for _, tt := range table {
Expand Down Expand Up @@ -109,12 +97,6 @@ func (s *RuntimeTestSuite) TestCloudflaredRuntime() {
archOut: "amd64",
osOut: "darwin",
},
{
arch: "arm",
os: "linux",
archOut: "arm",
osOut: "linux",
},
}

for _, tt := range table {
Expand All @@ -132,7 +114,7 @@ func (s *RuntimeTestSuite) TestInvalidRuntime() {
t := &Tool{
Name: Bat,
}
err := t.SetRuntime("arm", "darwin")
err := t.SetRuntime("riscv", "darwin")
s.Error(err)
}

Expand Down Expand Up @@ -199,12 +181,6 @@ func (s *RuntimeTestSuite) TestK9sRuntime() {
archOut: "x86_64",
osOut: "Darwin",
},
{
arch: "arm",
os: "linux",
archOut: "arm",
osOut: "Linux",
},
}

for _, tt := range table {
Expand Down Expand Up @@ -237,12 +213,6 @@ func (s *RuntimeTestSuite) TestXhRuntime() {
archOut: "x86_64",
osOut: "apple-darwin",
},
{
arch: "arm",
os: "linux",
archOut: "arm",
osOut: "unknown-linux-gnueabihf",
},
}

for _, tt := range table {
Expand Down

0 comments on commit dafb7e5

Please sign in to comment.