Skip to content

Commit

Permalink
Add sccache to pythonbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
orf committed Oct 16, 2024
1 parent 78e57bd commit 779b7cf
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/apple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,15 @@ concurrency:
jobs:
pythonbuild:
runs-on: 'macos-13'
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
steps:
- uses: actions/checkout@v4

- name: Run sccache-cache
uses: mozilla-actions/[email protected]

- name: Emit rustc version
run: |
rustc --version > .rustc-version
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ concurrency:
jobs:
pythonbuild:
runs-on: ubuntu-22.04
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
steps:
- name: Install System Dependencies
run: |
Expand All @@ -22,6 +25,9 @@ jobs:
- uses: actions/checkout@v4

- name: Run sccache-cache
uses: mozilla-actions/[email protected]

- name: Emit rustc version
run: |
rustc --version > .rustc-version
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,15 @@ concurrency:
jobs:
pythonbuild:
runs-on: 'windows-2019'
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
steps:
- uses: actions/checkout@v4

- name: Run sccache-cache
uses: mozilla-actions/[email protected]

- name: Emit rustc version
run: |
rustc --version > .rustc-version
Expand Down

0 comments on commit 779b7cf

Please sign in to comment.