File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 3636 # frequent small object writes.
3737 - name : Setup ccache
3838 uses :
hendrikmuhs/[email protected] 39+ if : runner.arch == 'X64'
3940 with :
4041 max-size : 1G
4142 key : libc_fullbuild_${{ matrix.c_compiler }}
@@ -46,10 +47,16 @@ jobs:
4647 # - Debian has a multilib setup, so we need to symlink the asm directory.
4748 # For more information, see https://wiki.debian.org/Multiarch/LibraryPathOverview
4849 - name : Prepare dependencies (Ubuntu)
50+ shell : bash
4951 run : |
5052 sudo apt-get update
5153 sudo apt-get install -y libmpfr-dev libgmp-dev libmpc-dev ninja-build linux-libc-dev
5254 sudo ln -sf /usr/include/$(uname -p)-linux-gnu/asm /usr/include/asm
55+ if [[ $(uname -m) == 'aarch64' ]]; then
56+ wget https://github.com/mozilla/sccache/releases/download/v0.9.1/sccache-v0.9.1-aarch64-unknown-linux-musl.tar.gz
57+ tar xvaf sccache-v0.9.1-aarch64-unknown-linux-musl.tar.gz
58+ sudo cp sccache-v0.9.1-aarch64-unknown-linux-musl/sccache /usr/bin
59+ fi
5360
5461 - name : Set reusable strings
5562 id : strings
Original file line number Diff line number Diff line change 5151 # frequent small object writes.
5252 - name : Setup ccache
5353 uses : hendrikmuhs/ccache-action@v1
54+ if : runner.arch == 'X64'
5455 with :
5556 max-size : 1G
5657 key : libc_overlay_build_${{ matrix.os }}_${{ matrix.compiler.c_compiler }}
6263 run : |
6364 sudo apt-get update
6465 sudo apt-get install -y libmpfr-dev libgmp-dev libmpc-dev ninja-build
66+ if [[ $(uname -m) == 'aarch64' ]]; then
67+ wget https://github.com/mozilla/sccache/releases/download/v0.9.1/sccache-v0.9.1-aarch64-unknown-linux-musl.tar.gz
68+ tar xvaf sccache-v0.9.1-aarch64-unknown-linux-musl.tar.gz
69+ sudo cp sccache-v0.9.1-aarch64-unknown-linux-musl/sccache /usr/bin
70+ fi
6571
6672 # Chocolatey is shipped with Windows runners. Windows Server 2025 recommends WinGet.
6773 # Consider migrating to WinGet when Windows Server 2025 is available.
You can’t perform that action at this time.
0 commit comments