mirror of https://github.com/smol-rs/polling
Test more Windows targets on CI
- Test x86_64 gnu, i686 msvc, i686 gnu on Windows host - Test patched async-io with Wine
This commit is contained in:
parent
d443196f64
commit
1e4467b1be
|
@ -11,14 +11,13 @@ env:
|
||||||
RUSTUP_MAX_RETRIES: '10'
|
RUSTUP_MAX_RETRIES: '10'
|
||||||
|
|
||||||
freebsd_task:
|
freebsd_task:
|
||||||
|
name: test ($TARGET)
|
||||||
freebsd_instance:
|
freebsd_instance:
|
||||||
image_family: freebsd-12-4
|
image_family: freebsd-12-4
|
||||||
matrix:
|
matrix:
|
||||||
- name: test (x86_64-unknown-freebsd)
|
- env:
|
||||||
env:
|
|
||||||
TARGET: x86_64-unknown-freebsd
|
TARGET: x86_64-unknown-freebsd
|
||||||
- name: test (i686-unknown-freebsd)
|
- env:
|
||||||
env:
|
|
||||||
TARGET: i686-unknown-freebsd
|
TARGET: i686-unknown-freebsd
|
||||||
setup_script:
|
setup_script:
|
||||||
- pkg install -y git
|
- pkg install -y git
|
||||||
|
|
|
@ -33,6 +33,13 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||||
rust: [nightly, beta, stable]
|
rust: [nightly, beta, stable]
|
||||||
|
include:
|
||||||
|
- os: windows-latest
|
||||||
|
rust: nightly-x86_64-pc-windows-gnu
|
||||||
|
- os: windows-latest
|
||||||
|
rust: nightly-i686-pc-windows-msvc
|
||||||
|
- os: windows-latest
|
||||||
|
rust: nightly-i686-pc-windows-gnu
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
|
@ -153,6 +160,14 @@ jobs:
|
||||||
target: x86_64-pc-windows-gnu
|
target: x86_64-pc-windows-gnu
|
||||||
runner: wine@7.13
|
runner: wine@7.13
|
||||||
- run: cargo test --target x86_64-pc-windows-gnu
|
- run: cargo test --target x86_64-pc-windows-gnu
|
||||||
|
- name: Clone async-io
|
||||||
|
run: git clone https://github.com/smol-rs/async-io.git
|
||||||
|
- name: Add patch section
|
||||||
|
run: echo '[patch.crates-io]' >> async-io/Cargo.toml
|
||||||
|
- name: Patch polling
|
||||||
|
run: echo 'polling = { path = ".." }' >> async-io/Cargo.toml
|
||||||
|
- name: Test async-io
|
||||||
|
run: cargo test --manifest-path=async-io/Cargo.toml
|
||||||
|
|
||||||
msrv:
|
msrv:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
Loading…
Reference in New Issue