Skip to content

Commit 1d84012

Browse files
committed
Try depot runners
1 parent 1998f62 commit 1d84012

File tree

1 file changed

+27
-26
lines changed

1 file changed

+27
-26
lines changed

.github/workflows/build.yml

Lines changed: 27 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ env:
1616
jobs:
1717
build-linux:
1818
name: Build Linux (${{matrix.name}} x86_64)
19-
runs-on: ubuntu-latest
19+
runs-on: depot-ubuntu-24.04-4
2020

2121
strategy:
2222
fail-fast: false
@@ -35,33 +35,34 @@ jobs:
3535

3636
- name: Install dependencies
3737
run: |
38+
sudo apt-get update
3839
sudo apt-get -y install ninja-build clang lld openssl libcurl4-openssl-dev \
3940
zlib1g-dev libglu1-mesa-dev libdbus-1-dev libvulkan-dev libxi-dev libxrandr-dev libasound2-dev \
4041
libpulse-dev libudev-dev libpng-dev libncurses5-dev libx11-xcb-dev libfreetype-dev \
4142
libxinerama-dev libxcursor-dev python3-markupsafe libgtk-3-dev libssl-dev \
4243
libxss-dev libfuse2
4344
44-
# free up disk space
45-
# https://github.com/actions/runner-images/issues/2840#issuecomment-3583950111
46-
echo Before
47-
df -h .
48-
sudo apt-get clean
49-
sudo rm -rf \
50-
"$AGENT_TOOLSDIRECTORY" \
51-
/opt/ghc \
52-
/opt/google/chrome \
53-
/opt/microsoft/msedge \
54-
/opt/microsoft/powershell \
55-
/opt/pipx \
56-
/usr/lib/mono \
57-
/usr/local/julia* \
58-
/usr/local/lib/android \
59-
/usr/local/share/chromium \
60-
/usr/local/share/powershell \
61-
/usr/share/dotnet \
62-
/usr/share/swift
63-
echo After
64-
df -h .
45+
# # free up disk space
46+
# # https://github.com/actions/runner-images/issues/2840#issuecomment-3583950111
47+
# echo Before
48+
# df -h .
49+
# sudo apt-get clean
50+
# sudo rm -rf \
51+
# "$AGENT_TOOLSDIRECTORY" \
52+
# /opt/ghc \
53+
# /opt/google/chrome \
54+
# /opt/microsoft/msedge \
55+
# /opt/microsoft/powershell \
56+
# /opt/pipx \
57+
# /usr/lib/mono \
58+
# /usr/local/julia* \
59+
# /usr/local/lib/android \
60+
# /usr/local/share/chromium \
61+
# /usr/local/share/powershell \
62+
# /usr/share/dotnet \
63+
# /usr/share/swift
64+
# echo After
65+
# df -h .
6566
6667
- name: Setup sccache
6768
uses: mozilla-actions/sccache-action@v0.0.9
@@ -85,7 +86,7 @@ jobs:
8586
8687
build-macos:
8788
name: Build macOS (AppleClang universal)
88-
runs-on: macos-latest
89+
runs-on: depot-macos-latest
8990

9091
env:
9192
IPP_VERSION: 2021.2.0.192
@@ -134,7 +135,7 @@ jobs:
134135
135136
build-ios:
136137
name: Build iOS (AppleClang arm64)
137-
runs-on: macos-latest
138+
runs-on: depot-macos-latest
138139

139140
steps:
140141
- uses: actions/checkout@v6
@@ -174,7 +175,7 @@ jobs:
174175
175176
build-tvos:
176177
name: Build tvOS (AppleClang arm64)
177-
runs-on: macos-latest
178+
runs-on: depot-macos-latest
178179

179180
steps:
180181
- uses: actions/checkout@v6
@@ -216,7 +217,7 @@ jobs:
216217
217218
build-windows:
218219
name: Build Windows (${{matrix.name}} x86_64)
219-
runs-on: windows-latest
220+
runs-on: depot-windows-2025-4
220221

221222
env:
222223
BUILD_DIR: C:\build

0 commit comments

Comments
 (0)