From aceee46534641c3a3f002d6889b854c122e20017 Mon Sep 17 00:00:00 2001 From: collin <16715212+collinc97@users.noreply.github.com> Date: Mon, 14 Mar 2022 13:14:19 -0700 Subject: [PATCH 1/2] Replace broken scoop windows ci --- .github/workflows/ci.yml | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 310558c013..c2c9b939db 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,14 +18,13 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [macOS-latest, windows-latest, ubuntu-latest] + os: [macOS-latest, ubuntu-latest] include: - os: ubuntu-latest sccache-path: /home/runner/.cache/sccache - os: macos-latest sccache-path: /Users/runner/Library/Caches/Mozilla.sccache - - os: windows-latest - sccache-path: "C:\\Users\\runneradmin\\AppData\\Local\\Mozilla\\sccache" + env: RUSTC_WRAPPER: sccache SCCACHE_CACHE_SIZE: 2G @@ -54,14 +53,6 @@ jobs: brew update brew install sccache - - name: Install sccache Windows - if: matrix.os == 'windows-latest' - run: | - iwr -useb get.scoop.sh | iex - Set-ExecutionPolicy RemoteSigned -scope CurrentUser - scoop install sccache - echo "C:\Users\runneradmin\scoop\shims" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append - - name: Install Rust Stable uses: actions-rs/toolchain@v1 with: @@ -169,6 +160,25 @@ jobs: - name: Stop sccache server run: sccache --stop-server || true + test-package-windows: + name: Test Package Windows + runs-on: windows-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Install Rust Stable + uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + override: true + + - name: Test + run: | + cd package + cargo test --all + test-docs: name: Test Docs runs-on: ubuntu-latest From 175e534731a55a0fb28090973308661a5f2737ef Mon Sep 17 00:00:00 2001 From: collin <16715212+collinc97@users.noreply.github.com> Date: Mon, 14 Mar 2022 13:34:01 -0700 Subject: [PATCH 2/2] Remove cd dir --- .github/workflows/ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c2c9b939db..914cf9749a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -176,7 +176,6 @@ jobs: - name: Test run: | - cd package cargo test --all test-docs: