From 4b426f7e1ee3269504a3ce077bfe9dc1969a89fc Mon Sep 17 00:00:00 2001 From: Michael Bolin Date: Tue, 2 Sep 2025 12:56:09 -0700 Subject: [PATCH] fix: leverage windows-11-arm for Windows ARM builds (#3062) This is in support of https://github.com/openai/codex/issues/2979. Once we have a release out, we can update the npm module and the VS Code extension to take advantage of this. --- .github/dotslash-config.json | 4 ++++ .github/workflows/rust-ci.yml | 6 ++++++ .github/workflows/rust-release.yml | 2 ++ 3 files changed, 12 insertions(+) diff --git a/.github/dotslash-config.json b/.github/dotslash-config.json index f3b85b2b..8566e034 100644 --- a/.github/dotslash-config.json +++ b/.github/dotslash-config.json @@ -21,6 +21,10 @@ "windows-x86_64": { "regex": "^codex-x86_64-pc-windows-msvc\\.exe\\.zst$", "path": "codex.exe" + }, + "windows-aarch64": { + "regex": "^codex-aarch64-pc-windows-msvc\\.exe\\.zst$", + "path": "codex.exe" } } } diff --git a/.github/workflows/rust-ci.yml b/.github/workflows/rust-ci.yml index 22a9291a..875441c5 100644 --- a/.github/workflows/rust-ci.yml +++ b/.github/workflows/rust-ci.yml @@ -100,6 +100,9 @@ jobs: - runner: windows-latest target: x86_64-pc-windows-msvc profile: dev + - runner: windows-11-arm + target: aarch64-pc-windows-msvc + profile: dev # Also run representative release builds on Mac and Linux because # there could be release-only build errors we want to catch. @@ -114,6 +117,9 @@ jobs: - runner: windows-latest target: x86_64-pc-windows-msvc profile: release + - runner: windows-11-arm + target: aarch64-pc-windows-msvc + profile: release steps: - uses: actions/checkout@v5 diff --git a/.github/workflows/rust-release.yml b/.github/workflows/rust-release.yml index a6d8128a..c0fe1b21 100644 --- a/.github/workflows/rust-release.yml +++ b/.github/workflows/rust-release.yml @@ -72,6 +72,8 @@ jobs: target: aarch64-unknown-linux-gnu - runner: windows-latest target: x86_64-pc-windows-msvc + - runner: windows-11-arm + target: aarch64-pc-windows-msvc steps: - uses: actions/checkout@v5