diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ada2529..3adedda 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,11 +4,12 @@ name: Continuous integration jobs: ci: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} strategy: matrix: rust: - stable + os: [ubuntu-latest, windows-latest] steps: - uses: actions/checkout@v3 diff --git a/Cargo.toml b/Cargo.toml index 458fc0f..a321cbd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,8 +21,8 @@ derive_serde_style = ["serde"] [dependencies] serde = { version="1.0.90", features=["derive"], optional=true } -[dependencies.windows] -version = "0.43" +[target.'cfg(windows)'.dependencies.windows] +version = "0.44" features = [ "Win32_Foundation", "Win32_System_Console",