Skip to content

Commit

Permalink
disable caching on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
mibmo committed Apr 11, 2023
1 parent 056abbb commit cabffc4
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,13 @@ jobs:
include:
#- runner-os: ubuntu-latest
# triple: x86_64-unknown-linux-gnu
# use-caching: true
#- runner-os: macos-latest
# triple: x86_64-apple-darwin
# use-caching: true
- runner-os: windows-latest
triple: x86_64-pc-windows-gnu
use-caching: false
steps:
# Download dependencies depending on platform
- name: Download build tools [linux]
Expand Down Expand Up @@ -57,9 +60,11 @@ jobs:
with:
go-version: ${{ env.GO_VERSION_SPECIFIER }}
- name: Compute cache key
if: matrix.use-caching
id: cache-data
run: echo "key=${{ runner.os }}-deps-$(git submodule status | sha256sum | cut -d ' ' -f1)" | tee -a $GITHUB_OUTPUT
run: echo "key=${{ runner.os }}-deps-$(git submodule status | sha256sum | cut -d ' ' -f1)" >> $GITHUB_OUTPUT
- name: Cache dependencies
if: matrix.use-caching
id: cache-deps
uses: actions/cache@v3
with:
Expand Down Expand Up @@ -99,7 +104,16 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
include:
#- runner-os: ubuntu-latest
# triple: x86_64-unknown-linux-gnu
# use-caching: true
#- runner-os: macos-latest
# triple: x86_64-apple-darwin
# use-caching: true
- runner-os: windows-latest
triple: x86_64-pc-windows-gnu
use-caching: false
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand All @@ -108,9 +122,11 @@ jobs:
with:
go-version: ${{ env.GO_VERSION_SPECIFIER }}
- name: Compute cache key
if: matrix.use-caching
id: cache-data
run: echo "key=${{ runner.os }}-deps-$(git submodule status | sha256sum | cut -d ' ' -f1)" >> $GITHUB_OUTPUT
- name: Cache dependencies
if: matrix.use-caching
id: cache-deps
uses: actions/cache@v3
with:
Expand Down

0 comments on commit cabffc4

Please sign in to comment.