From ea9aad9b5d1e9a10278f9ae712526cfc2d62d6ff Mon Sep 17 00:00:00 2001 From: Darren Schroeder <343840+fdncred@users.noreply.github.com> Date: Mon, 11 Oct 2021 13:58:10 -0500 Subject: [PATCH 1/2] fix to allow windows to compile --- crates/nu-command/src/filesystem/rm.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/nu-command/src/filesystem/rm.rs b/crates/nu-command/src/filesystem/rm.rs index 39626bb453..e10206a1c6 100644 --- a/crates/nu-command/src/filesystem/rm.rs +++ b/crates/nu-command/src/filesystem/rm.rs @@ -1,4 +1,5 @@ use std::env::current_dir; +#[cfg(unix)] use std::os::unix::prelude::FileTypeExt; use std::path::PathBuf; From a67be074e6d62e1024656be282cb2b3ab12e6e22 Mon Sep 17 00:00:00 2001 From: JT <547158+jntrnr@users.noreply.github.com> Date: Tue, 12 Oct 2021 08:19:43 +1300 Subject: [PATCH 2/2] Try #2 - Mac/Windows CI --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1be606cf9d..ed27baacaf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,12 +4,14 @@ name: Continuous integration jobs: ci: - runs-on: ubuntu-latest strategy: matrix: + platform: [ubuntu-latest, macos-latest, windows-latest] rust: - stable + runs-on: ${{ matrix.platform }} + steps: - uses: actions/checkout@v2