Skip to content

Commit 015d5eb

Browse files
chore(ci): drop armv7, windows-gnu, and x86_64-apple-darwin targets
Remove unsupported/obsolete build targets: - armv7-unknown-linux-gnueabihf and armv7-unknown-linux-musleabihf - x86_64-pc-windows-gnu (MSVC is the standard Windows target) - x86_64-apple-darwin (Apple transitioned to ARM in 2022) Reduces build matrix from 10 to 6 targets.
1 parent db6fb74 commit 015d5eb

File tree

3 files changed

+3
-33
lines changed

3 files changed

+3
-33
lines changed

.github/workflows/cross-build.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,8 @@ jobs:
2727
{
2828
"include": [
2929
{"target": "aarch64-apple-darwin", "os": "macos-latest", "cross": false},
30-
{"target": "x86_64-apple-darwin", "os": "macos-latest", "cross": false},
3130
{"target": "aarch64-unknown-linux-gnu", "os": "ubuntu-latest", "cross": true},
3231
{"target": "aarch64-unknown-linux-musl", "os": "ubuntu-latest", "cross": true},
33-
{"target": "armv7-unknown-linux-gnueabihf", "os": "ubuntu-latest", "cross": true},
34-
{"target": "armv7-unknown-linux-musleabihf", "os": "ubuntu-latest", "cross": true},
35-
{"target": "x86_64-pc-windows-gnu", "os": "ubuntu-latest", "cross": true},
3632
{"target": "x86_64-pc-windows-msvc", "os": "windows-latest", "cross": false},
3733
{"target": "x86_64-unknown-linux-gnu", "os": "ubuntu-latest", "cross": false},
3834
{"target": "x86_64-unknown-linux-musl", "os": "ubuntu-latest", "cross": true}

.github/workflows/release-cli.yml

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -97,26 +97,10 @@ jobs:
9797
os: ubuntu-latest
9898
use_cross: true
9999
archive: tar.gz
100-
- target: armv7-unknown-linux-gnueabihf
101-
os: ubuntu-latest
102-
use_cross: true
103-
archive: tar.gz
104-
- target: armv7-unknown-linux-musleabihf
105-
os: ubuntu-latest
106-
use_cross: true
107-
archive: tar.gz
108-
- target: x86_64-pc-windows-gnu
109-
os: ubuntu-latest
110-
use_cross: true
111-
archive: zip
112100
- target: x86_64-pc-windows-msvc
113101
os: windows-latest
114102
use_cross: false
115103
archive: zip
116-
- target: x86_64-apple-darwin
117-
os: macos-latest
118-
use_cross: false
119-
archive: tar.gz
120104
- target: aarch64-apple-darwin
121105
os: macos-latest
122106
use_cross: false
@@ -289,9 +273,9 @@ jobs:
289273
290274
### Supported Platforms
291275
292-
- Linux: x86_64, aarch64, armv7 (GNU and musl)
293-
- Windows: x86_64 (MSVC, GNU)
294-
- macOS: x86_64, aarch64
276+
- Linux: x86_64, aarch64 (GNU and musl)
277+
- Windows: x86_64 (MSVC)
278+
- macOS: aarch64 (Apple Silicon)
295279
296280
### Checksums
297281

install.sh

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ detect_platform() {
6969
case "$(uname -m)" in
7070
x86_64|amd64) arch="x86_64";;
7171
aarch64|arm64) arch="aarch64";;
72-
armv7l) arch="armv7";;
7372
*) error "Unsupported architecture: $(uname -m)";;
7473
esac
7574

@@ -80,15 +79,6 @@ detect_platform() {
8079
else
8180
os="${os}-gnu"
8281
fi
83-
84-
# Special case for armv7
85-
if [[ "$arch" == "armv7" ]]; then
86-
if [[ "$os" == "unknown-linux-musl" ]]; then
87-
os="unknown-linux-musleabihf"
88-
else
89-
os="unknown-linux-gnueabihf"
90-
fi
91-
fi
9282
fi
9383

9484
# Windows uses different extension

0 commit comments

Comments
 (0)