Skip to content

Commit 333d481

Browse files
committed
ci: temporarily skip Linux ARM64 release
1 parent 8eef1b0 commit 333d481

4 files changed

Lines changed: 0 additions & 25 deletions

File tree

.github/workflows/rust-release.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ jobs:
2626
include:
2727
- runner: ubuntu-24.04
2828
target: x86_64-unknown-linux-musl
29-
- runner: ubuntu-24.04-arm
30-
target: aarch64-unknown-linux-musl
3129
- runner: macos-15-intel
3230
target: x86_64-apple-darwin
3331
- runner: macos-15
@@ -288,11 +286,6 @@ jobs:
288286
chmod +x "${linux_stage}/codext"
289287
tar -C "${linux_stage}" -czf "${out_dir}/codext-linux-x64-${VERSION}.tar.gz" codext
290288
291-
linux_arm64_stage="$(mktemp -d "${RUNNER_TEMP}/release-linux-arm64-XXXXXX")"
292-
cp "${artifacts_root}/codex-bin-aarch64-unknown-linux-musl/codex" "${linux_arm64_stage}/codext"
293-
chmod +x "${linux_arm64_stage}/codext"
294-
tar -C "${linux_arm64_stage}" -czf "${out_dir}/codext-linux-arm64-${VERSION}.tar.gz" codext
295-
296289
darwin_x64_stage="$(mktemp -d "${RUNNER_TEMP}/release-darwin-x64-XXXXXX")"
297290
cp "${artifacts_root}/codex-bin-x86_64-apple-darwin/codex" "${darwin_x64_stage}/codext"
298291
chmod +x "${darwin_x64_stage}/codext"
@@ -383,15 +376,12 @@ jobs:
383376
384377
mkdir -p \
385378
"${vendor_root}/x86_64-unknown-linux-musl/codex" \
386-
"${vendor_root}/aarch64-unknown-linux-musl/codex" \
387379
"${vendor_root}/x86_64-apple-darwin/codex" \
388380
"${vendor_root}/aarch64-apple-darwin/codex" \
389381
"${vendor_root}/x86_64-pc-windows-msvc/codex"
390382
391383
cp "${artifacts_root}/codex-bin-x86_64-unknown-linux-musl/codex" \
392384
"${vendor_root}/x86_64-unknown-linux-musl/codex/codex"
393-
cp "${artifacts_root}/codex-bin-aarch64-unknown-linux-musl/codex" \
394-
"${vendor_root}/aarch64-unknown-linux-musl/codex/codex"
395385
cp "${artifacts_root}/codex-bin-x86_64-apple-darwin/codex" \
396386
"${vendor_root}/x86_64-apple-darwin/codex/codex"
397387
cp "${artifacts_root}/codex-bin-aarch64-apple-darwin/codex" \
@@ -421,7 +411,6 @@ jobs:
421411
packages=(
422412
codex
423413
codex-linux-x64
424-
codex-linux-arm64
425414
codex-darwin-x64
426415
codex-darwin-arm64
427416
codex-win32-x64

codex-cli/bin/codex.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ const require = createRequire(import.meta.url);
1414

1515
const PLATFORM_PACKAGE_BY_TARGET = {
1616
"x86_64-unknown-linux-musl": "@loongphy/codext-linux-x64",
17-
"aarch64-unknown-linux-musl": "@loongphy/codext-linux-arm64",
1817
"x86_64-apple-darwin": "@loongphy/codext-darwin-x64",
1918
"aarch64-apple-darwin": "@loongphy/codext-darwin-arm64",
2019
"x86_64-pc-windows-msvc": "@loongphy/codext-win32-x64",
@@ -30,9 +29,6 @@ switch (platform) {
3029
case "x64":
3130
targetTriple = "x86_64-unknown-linux-musl";
3231
break;
33-
case "arm64":
34-
targetTriple = "aarch64-unknown-linux-musl";
35-
break;
3632
default:
3733
break;
3834
}

codex-cli/scripts/build_npm_package.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,6 @@
2626
"os": "linux",
2727
"cpu": "x64",
2828
},
29-
"codex-linux-arm64": {
30-
"npm_name": "@loongphy/codext-linux-arm64",
31-
"npm_tag": "linux-arm64",
32-
"target_triple": "aarch64-unknown-linux-musl",
33-
"os": "linux",
34-
"cpu": "arm64",
35-
},
3629
"codex-darwin-x64": {
3730
"npm_name": "@loongphy/codext-darwin-x64",
3831
"npm_tag": "darwin-x64",
@@ -63,7 +56,6 @@
6356
PACKAGE_NATIVE_COMPONENTS: dict[str, list[str]] = {
6457
"codex": [],
6558
"codex-linux-x64": ["codex", "rg"],
66-
"codex-linux-arm64": ["codex", "rg"],
6759
"codex-darwin-x64": ["codex", "rg"],
6860
"codex-darwin-arm64": ["codex", "rg"],
6961
"codex-win32-x64": ["codex", "rg", "codex-windows-sandbox-setup", "codex-command-runner"],

codex-cli/scripts/install_native_deps.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
RG_MANIFEST = CODEX_CLI_ROOT / "bin" / "rg"
2626
BINARY_TARGETS = (
2727
"x86_64-unknown-linux-musl",
28-
"aarch64-unknown-linux-musl",
2928
"x86_64-apple-darwin",
3029
"aarch64-apple-darwin",
3130
"x86_64-pc-windows-msvc",
@@ -69,7 +68,6 @@ class BinaryComponent:
6968

7069
RG_TARGET_PLATFORM_PAIRS: list[tuple[str, str]] = [
7170
("x86_64-unknown-linux-musl", "linux-x86_64"),
72-
("aarch64-unknown-linux-musl", "linux-aarch64"),
7371
("x86_64-apple-darwin", "macos-x86_64"),
7472
("aarch64-apple-darwin", "macos-aarch64"),
7573
("x86_64-pc-windows-msvc", "windows-x86_64"),

0 commit comments

Comments
 (0)