diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 77b8722..588338e 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -71,6 +71,8 @@ jobs: x86_64-pc-windows-gnu \ i686-pc-windows-gnu - name: Test bindgen + # zstd with bindgen requires Rust 1.77+ + if: ${{ matrix.toolchain != '1.74.0' }} shell: bash run: | set -e @@ -134,7 +136,7 @@ jobs: cargo run zigbuild --target aarch64-apple-darwin --manifest-path tests/hello-tls/Cargo.toml cargo run zigbuild --target aarch64-apple-darwin --manifest-path tests/hello-rustls/Cargo.toml - name: macOS - Test build bindgen with SDKROOT - if: ${{ matrix.os == 'ubuntu-latest' && matrix.toolchain != '1.67.0' }} + if: ${{ matrix.os == 'ubuntu-latest' && matrix.toolchain != '1.74.0' }} env: SDK: MacOSX11.3.sdk run: cargo run zigbuild --manifest-path tests/zstd-rs/Cargo.toml --features bindgen --target aarch64-apple-darwin @@ -190,7 +192,6 @@ jobs: cargo run zigbuild --target aarch64-unknown-linux-musl cargo run zigbuild --target aarch64-unknown-linux-musl --manifest-path tests/hello-rustls/Cargo.toml - name: Windows - Test gnu build - if: matrix.zig != '0.13.0' run: | cargo run zigbuild --target x86_64-pc-windows-gnu cargo run zigbuild --target x86_64-pc-windows-gnu --manifest-path tests/hello-windows/Cargo.toml @@ -201,7 +202,7 @@ jobs: run: | cargo run zigbuild --target aarch64-unknown-linux-gnu --manifest-path tests/hello-rustls/Cargo.toml --features curl - name: Windows - Test run - if: ${{ matrix.os == 'windows-latest' && matrix.zig != '0.13.0' }} + if: ${{ matrix.os == 'windows-latest' }} run: | ./target/x86_64-pc-windows-gnu/debug/cargo-zigbuild.exe zigbuild --help ./tests/hello-windows/target/x86_64-pc-windows-gnu/debug/hello-windows.exe