Skip to content
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

ci: stop using sccache since it hasn't been very helpful #750

Merged
merged 1 commit into from
Nov 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
3 changes: 0 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,6 @@ jobs:
steps:
- uses: actions/checkout@v4

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

- name: Setup extra build tools
if: matrix.target == 'aarch64-unknown-linux-musl'
run: |
Expand Down
27 changes: 0 additions & 27 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ env:
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
# https://users.rust-lang.org/t/cross-compiling-how-to-statically-link-glibc/83907/2
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER: aarch64-linux-gnu-gcc
# https://github.com/Mozilla-Actions/sccache-action#rust-code
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: sccache

jobs:
skip-check:
Expand Down Expand Up @@ -42,8 +39,6 @@ jobs:
- os: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run sccache-cache
uses: mozilla-actions/[email protected]
- name: Setup Rust
if: ${{ steps.cache_build.outputs.cache-hit != 'true' }}
uses: dtolnay/rust-toolchain@stable
Expand All @@ -70,8 +65,6 @@ jobs:
if: ${{ needs.skip-check.outputs.should_skip != 'true' }}
steps:
- uses: actions/checkout@v4
- name: Run sccache-cache
uses: mozilla-actions/[email protected]
- uses: dtolnay/rust-toolchain@stable
with:
targets: x86_64-pc-windows-msvc
Expand All @@ -90,8 +83,6 @@ jobs:
if: ${{ needs.skip-check.outputs.should_skip != 'true' }}
steps:
- uses: actions/checkout@v4
- name: Run sccache-cache
uses: mozilla-actions/[email protected]
- uses: dtolnay/rust-toolchain@stable
with:
targets: x86_64-pc-windows-msvc
Expand Down Expand Up @@ -134,8 +125,6 @@ jobs:
if: ${{ needs.skip-check.outputs.should_skip != 'true' }}
steps:
- uses: actions/checkout@v4
- name: Run sccache-cache
uses: mozilla-actions/[email protected]
- uses: dtolnay/rust-toolchain@stable
with:
targets: aarch64-apple-darwin
Expand Down Expand Up @@ -189,8 +178,6 @@ jobs:
source ./macports-ci install
sudo port install wget
port installed
- name: Run sccache-cache
uses: mozilla-actions/[email protected]
- uses: dtolnay/rust-toolchain@stable
with:
targets: aarch64-apple-darwin
Expand All @@ -209,8 +196,6 @@ jobs:
if: ${{ needs.skip-check.outputs.should_skip != 'true' }}
steps:
- uses: actions/checkout@v4
- name: Run sccache-cache
uses: mozilla-actions/[email protected]
- uses: dtolnay/rust-toolchain@stable
with:
targets: x86_64-unknown-linux-musl
Expand All @@ -236,8 +221,6 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
targets: x86_64-unknown-linux-musl
- name: Run sccache-cache
uses: mozilla-actions/[email protected]
- name: Build and run tests
env:
CARGO_BUILD_TARGET: x86_64-unknown-linux-musl
Expand All @@ -262,8 +245,6 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
targets: x86_64-unknown-linux-musl
- name: Run sccache-cache
uses: mozilla-actions/[email protected]
- name: Build and run tests
env:
CARGO_BUILD_TARGET: x86_64-unknown-linux-musl
Expand All @@ -288,8 +269,6 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
targets: x86_64-unknown-linux-musl
- name: Run sccache-cache
uses: mozilla-actions/[email protected]
- name: Build and run tests
env:
CARGO_BUILD_TARGET: x86_64-unknown-linux-musl
Expand All @@ -312,8 +291,6 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
targets: x86_64-unknown-linux-musl
- name: Run sccache-cache
uses: mozilla-actions/[email protected]
- name: Build and run tests
env:
CARGO_BUILD_TARGET: x86_64-unknown-linux-musl
Expand All @@ -337,8 +314,6 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
targets: x86_64-unknown-linux-musl
- name: Run sccache-cache
uses: mozilla-actions/[email protected]
- name: Build and run tests
env:
RUSTFLAGS: "-C target-feature=-crt-static"
Expand All @@ -359,8 +334,6 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y packagekit packagekit-tools
- name: Run sccache-cache
uses: mozilla-actions/[email protected]
- uses: dtolnay/rust-toolchain@stable
with:
targets: x86_64-unknown-linux-musl
Expand Down
Loading