Skip to content

Commit

Permalink
Use sccache in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Absolucy committed Oct 15, 2024
1 parent aff651a commit 951e3d9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,14 @@ jobs:
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libgcc-s1:i386 g++-multilib zlib1g-dev:i386 libssl-dev:i386
- name: Setup sccache
uses: mozilla-actions/[email protected]
- name: Build
run: cargo build --release --package aneri --target "${{ matrix.os.target }}" --no-default-features --features "${{ matrix.features.features }}" --locked
env:
PKG_CONFIG_ALLOW_CROSS: 1
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 951e3d9

Please sign in to comment.