From 40dbb7053ec5b0a1c39f477787258598421b209a Mon Sep 17 00:00:00 2001 From: Jason Hall Date: Sat, 7 Jun 2025 21:53:38 -0400 Subject: [PATCH] Disable Windows CI temporarily Remove Windows from the CI matrix to focus on getting Linux and macOS working reliably first. Windows cross-compilation and Docker support can be added back once the core functionality is stable. --- .github/workflows/ci.yml | 38 +------------------------------------- 1 file changed, 1 insertion(+), 37 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7affe73..ac0096f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-latest, macos-latest] rust: [stable, beta] steps: - uses: actions/checkout@v4 @@ -39,21 +39,6 @@ jobs: mkdir -p ~/.cargo echo '[target.x86_64-unknown-linux-musl]' >> ~/.cargo/config.toml echo 'linker = "x86_64-unknown-linux-musl-gcc"' >> ~/.cargo/config.toml - - name: Install cross-compilation tools (Windows) - if: matrix.os == 'windows-latest' - shell: pwsh - run: | - # On Windows, we'll use rust-lld as the linker for musl targets - rustup component add llvm-tools-preview - # Find rust-lld location - $rustc_sysroot = rustc --print sysroot - $rust_lld = "$rustc_sysroot\lib\rustlib\x86_64-pc-windows-msvc\bin\rust-lld.exe" - Write-Host "rust-lld location: $rust_lld" - # Create cargo config directory - New-Item -ItemType Directory -Force -Path "$env:USERPROFILE\.cargo" - # Create config file with full path to rust-lld - Add-Content -Path "$env:USERPROFILE\.cargo\config.toml" -Value "[target.x86_64-unknown-linux-musl]" - Add-Content -Path "$env:USERPROFILE\.cargo\config.toml" -Value "linker = `"$rust_lld`"" - name: Set up Docker (macOS) if: matrix.os == 'macos-latest' uses: douglascamata/setup-docker-macos-action@v1-alpha @@ -73,7 +58,6 @@ jobs: path: target key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }} - name: Verify cross-compilation setup (Unix) - if: matrix.os != 'windows-latest' run: | echo "Installed targets:" rustup target list --installed @@ -88,26 +72,6 @@ jobs: which rust-lld || echo "rust-lld not found" echo "Cargo config:" cat ~/.cargo/config.toml || echo "No cargo config found" - - name: Verify cross-compilation setup (Windows) - if: matrix.os == 'windows-latest' - shell: pwsh - run: | - Write-Host "Installed targets:" - rustup target list --installed - Write-Host "Cargo version:" - cargo --version - Write-Host "Rustc version:" - rustc --version - Write-Host "rust-lld location:" - $rustc_sysroot = rustc --print sysroot - $rust_lld = "$rustc_sysroot\lib\rustlib\x86_64-pc-windows-msvc\bin\rust-lld.exe" - if (Test-Path $rust_lld) { - Write-Host "$rust_lld exists" - } else { - Write-Host "$rust_lld not found" - } - Write-Host "Cargo config:" - Get-Content "$env:USERPROFILE\.cargo\config.toml" -ErrorAction SilentlyContinue || Write-Host "No cargo config found" - name: Build run: cargo build --verbose - name: Run unit tests