Skip to content

Commit

Permalink
ci: stop using sccache since it hasn't been very helpful
Browse files Browse the repository at this point in the history
  • Loading branch information
rami3l committed Nov 30, 2024
1 parent de842c3 commit ade3bab
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 30 deletions.
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

0 comments on commit ade3bab

Please sign in to comment.