File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments