Skip to content

Commit 0f5d96a

Browse files
authored
Merge ccf4503 into 31a119a
2 parents 31a119a + ccf4503 commit 0f5d96a

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,10 @@ jobs:
6464
cpp_compiler: g++
6565
# The manylinux container is to ensure ABI compatibility with glibc 2.28.
6666
# This way, the continuous delivery process casts a wide net across many linux distros.
67-
container: dockcross/manylinux_2_28-x64:latest
67+
container:
68+
image: dockcross/manylinux_2_28-x64:latest
69+
# Needed to run the "Free disk space on Linux host" step
70+
options: --volume /:/host
6871
exclude:
6972
- os: macos-latest
7073
toolchain: msvc
@@ -103,8 +106,16 @@ jobs:
103106
with:
104107
winsdk-build-version: ${{ env.WIN10_SDK_BUILD_VERSION }}
105108

109+
- name: Free disk space on Linux host
110+
if: matrix.container.image == 'dockcross/manylinux_2_28-x64:latest'
111+
run: |
112+
# Prevent runner from running out of disk space
113+
rm -rf /host/usr/share/dotnet
114+
rm -rf /host/usr/local/lib/android
115+
rm -rf /host/opt/ghc
116+
106117
- name: Set up dependencies on linux
107-
if: matrix.container == 'dockcross/manylinux_2_28-x64:latest'
118+
if: matrix.container.image == 'dockcross/manylinux_2_28-x64:latest'
108119
run: >
109120
dnf install -y mesa-libGL-devel libxcb libxcb-devel libX11-xcb libXcursor-devel libXrandr-devel libXinerama-devel libXi-devel libXext-devel libxkbcommon libxkbcommon-devel libxkbcommon-x11-devel mesa-vulkan-drivers wayland-protocols-devel wayland-devel
110121

0 commit comments

Comments
 (0)