From bd74cccddc891d9dd2d63cf6fdcac77c13541ddd Mon Sep 17 00:00:00 2001 From: Michael Bolin Date: Fri, 25 Apr 2025 13:47:07 -0700 Subject: [PATCH] ci: build Rust on Windows as part of CI to ensure we guard platform-specific code appropriately --- .github/workflows/rust-ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/rust-ci.yml b/.github/workflows/rust-ci.yml index 7e200960d9..eb399cbce3 100644 --- a/.github/workflows/rust-ci.yml +++ b/.github/workflows/rust-ci.yml @@ -5,6 +5,7 @@ on: - main paths: - "codex-rs/**" + - ".github/**" push: branches: - main @@ -41,6 +42,8 @@ jobs: strategy: fail-fast: false matrix: + # Note: While Codex CLI does not support Windows today, we include + # Windows in CI to ensure the code at least builds there. include: - runner: macos-14 target: aarch64-apple-darwin @@ -50,6 +53,8 @@ jobs: target: x86_64-unknown-linux-musl - runner: ubuntu-24.04 target: x86_64-unknown-linux-gnu + - runner: windows-latest + target: x86_64-pc-windows-msvc steps: - uses: actions/checkout@v4