File tree 2 files changed +13
-0
lines changed 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 36
36
# frequent small object writes.
37
37
- name : Setup ccache
38
38
uses :
hendrikmuhs/[email protected]
39
+ if : runner.arch == 'X64'
39
40
with :
40
41
max-size : 1G
41
42
key : libc_fullbuild_${{ matrix.c_compiler }}
@@ -46,10 +47,16 @@ jobs:
46
47
# - Debian has a multilib setup, so we need to symlink the asm directory.
47
48
# For more information, see https://wiki.debian.org/Multiarch/LibraryPathOverview
48
49
- name : Prepare dependencies (Ubuntu)
50
+ shell : bash
49
51
run : |
50
52
sudo apt-get update
51
53
sudo apt-get install -y libmpfr-dev libgmp-dev libmpc-dev ninja-build linux-libc-dev
52
54
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
53
60
54
61
- name : Set reusable strings
55
62
id : strings
Original file line number Diff line number Diff line change 51
51
# frequent small object writes.
52
52
- name : Setup ccache
53
53
uses : hendrikmuhs/ccache-action@v1
54
+ if : runner.arch == 'X64'
54
55
with :
55
56
max-size : 1G
56
57
key : libc_overlay_build_${{ matrix.os }}_${{ matrix.compiler.c_compiler }}
62
63
run : |
63
64
sudo apt-get update
64
65
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
65
71
66
72
# Chocolatey is shipped with Windows runners. Windows Server 2025 recommends WinGet.
67
73
# Consider migrating to WinGet when Windows Server 2025 is available.
You can’t perform that action at this time.
0 commit comments