From 0d9ebea18af62bcf83ffb87fbb8b97cfcd7301a4 Mon Sep 17 00:00:00 2001 From: Floris Bruynooghe Date: Mon, 11 Dec 2023 16:38:10 +0100 Subject: [PATCH] chore(ci): Windows sccache (#1873) ## Description This enables sccache for the windows self-hosted runners, which are now configured for this. ## Notes & open questions See /~https://github.com/n0-computer/iroh/issues/1864 ## Change checklist - [x] Self-review. - ~~Documentation updates if relevant.~~ - ~~Tests if relevant.~~ --- .github/workflows/ci.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 985e356488..31344ac07b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -112,11 +112,10 @@ jobs: - name: windows-latest os: windows runner: [self-hosted, windows, x64] - # TODO: disabled, see below. - # env: - # # Using self-hosted runners so use local cache for sccache and - # # not SCCACHE_GHA_ENABLED. - # RUSTC_WRAPPER: "sccache" + env: + # Using self-hosted runners so use local cache for sccache and + # not SCCACHE_GHA_ENABLED. + RUSTC_WRAPPER: "sccache" steps: - name: Checkout uses: actions/checkout@master @@ -149,8 +148,8 @@ jobs: # TODO: disabled while we do not have Powershell 7+ on the runner # as default shell. See /~https://github.com/actions/toolkit/issues/1179 - # - name: Install sccache - # uses: mozilla-actions/sccache-action@v0.0.3 + - name: Install sccache + uses: mozilla-actions/sccache-action@v0.0.3 - uses: msys2/setup-msys2@v2