8000 CI: Cache config.cache across runs to speed up build by hugovk · Pull Request #104800 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

CI: Cache config.cache across runs to speed up build #104800

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 25, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Combine hashFiles
  • Loading branch information
hugovk committed May 23, 2023
commit 7ef178c99b304147dbdf165b2497287cee2f9f1f
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
uses: actions/cache@v3
with:
path: config.cache
key: ${{ github.job }}-${{ hashFiles('configure') }}-${{ hashFiles('configure.ac') }}
key: ${{ github.job }}-${{ hashFiles('configure', 'configure.ac') }}
- uses: actions/setup-python@v3
- name: Install Dependencies
run: sudo ./.github/workflows/posix-deps-apt.sh
Expand Down Expand Up @@ -187,7 +187,7 @@ jobs:
uses: actions/cache@v3
with:
path: config.cache
key: ${{ github.job }}-${{ runner.os }}-${{ hashFiles('configure') }}-${{ hashFiles('configure.ac') }}
key: ${{ github.job }}-${{ runner.os }}-${{ hashFiles('configure', 'configure.ac') }}
- name: Install Homebrew dependencies
run: brew install pkg-config openssl@1.1 xz gdbm tcl-tk
- name: Configure CPython
Expand Down Expand Up @@ -253,7 +253,7 @@ jobs:
uses: actions/cache@v3
with:
path: ${{ env.CPYTHON_BUILDDIR }}/config.cache
key: ${{ github.job }}-${{ runner.os }}-${{ hashFiles('configure') }}-${{ hashFiles('configure.ac') }}
key: ${{ github.job }}-${{ runner.os }}-${{ hashFiles('configure', 'configure.ac') }}
- name: Configure CPython out-of-tree
working-directory: ${{ env.CPYTHON_BUILDDIR }}
run: |
Expand Down Expand Up @@ -295,7 +295,7 @@ jobs:
uses: actions/cache@v3
with:
path: config.cache
key: ${{ github.job }}-${{ runner.os }}-${{ hashFiles('configure') }}-${{ hashFiles('configure.ac') }}
key: ${{ github.job }}-${{ runner.os }}-${{ hashFiles('configure', 'configure.ac') }}
- name: Register gcc problem matcher
run: echo "::add-matcher::.github/problem-matchers/gcc.json"
- name: Install Dependencies
Expand Down Expand Up @@ -374,7 +374,7 @@ jobs:
uses: actions/cache@v3
with:
path: ${{ env.CPYTHON_BUILDDIR }}/config.cache
key: ${{ github.job }}-${{ runner.os }}-${{ hashFiles('configure') }}-${{ hashFiles('configure.ac') }}
key: ${{ github.job }}-${{ runner.os }}-${{ hashFiles('configure', 'configure.ac') }}
- name: Configure CPython out-of-tree
working-directory: ${{ env.CPYTHON_BUILDDIR }}
run: |
Expand Down Expand Up @@ -453,7 +453,7 @@ jobs:
uses: actions/cache@v3
with:
path: config.cache
key: ${{ github.job }}-${{ runner.os }}-${{ hashFiles('configure') }}-${{ hashFiles('configure.ac') }}
key: ${{ github.job }}-${{ runner.os }}-${{ hashFiles('configure', 'configure.ac') }}
- name: Register gcc problem matcher
run: echo "::add-matcher::.github/problem-matchers/gcc.json"
- name: Install Dependencies
Expand Down
0