-
-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,6 +55,16 @@ jobs: | |
} | ||
|
||
steps: | ||
- name: Test for Win Deps cache hit | ||
id: windep-cache | ||
uses: actions/[email protected] | ||
with: | ||
path: ${{ github.workspace }}/pygame_win_deps_${{ matrix.winarch }} | ||
# The hash of all files in buildconfig manylinux-build and windependencies is | ||
# the key to the cache. If anything changes here, the deps are built again | ||
key: windep-${{ hashFiles('buildconfig/manylinux-build/**') }}-${{ hashFiles('buildconfig/windependencies/*.sh') }}-${{ matrix.winarch }} | ||
lookup-only: true | ||
|
||
- run: git config --global core.autocrlf input # do not introduce carriage returns | ||
- uses: actions/[email protected] | ||
- uses: msys2/setup-msys2@v2 | ||
|
@@ -66,16 +76,6 @@ jobs: | |
mingw-w64-${{ matrix.winarch }}-autotools | ||
mingw-w64-${{ matrix.winarch }}-nasm | ||
- name: Test for Win Deps cache hit | ||
id: windep-cache | ||
uses: actions/[email protected] | ||
with: | ||
path: ${{ github.workspace }}/pygame_win_deps_${{ matrix.winarch }} | ||
# The hash of all files in buildconfig manylinux-build and windependencies is | ||
# the key to the cache. If anything changes here, the deps are built again | ||
key: windep-${{ hashFiles('buildconfig/manylinux-build/**') }}-${{ hashFiles('buildconfig/windependencies/*.sh') }}-${{ matrix.winarch }} | ||
lookup-only: true | ||
|
||
# build win deps on cache miss | ||
- name: Build Win Deps | ||
if: steps.windep-cache.outputs.cache-hit != 'true' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters