@@ -110,14 +110,21 @@ jobs:
110110 build-xpu :
111111 strategy :
112112 matrix :
113- os : [ubuntu-22.04]
113+ os : [ubuntu-22.04, windows-2025 ]
114114 runs-on : ${{ matrix.os }}
115115 steps :
116116 - uses : actions/checkout@v4
117- - name : Build C++
117+ - name : Build C++ (Linux)
118+ if : runner.os == 'Linux'
118119 run : bash .github/scripts/build-xpu.sh
119120 env :
120121 build_os : ${{ matrix.os }}
122+ - name : Build C++ (Windows)
123+ if : runner.os == 'Windows'
124+ run : .github/scripts/build-xpu-windows.bat
125+ shell : cmd
126+ env :
127+ build_os : ${{ matrix.os }}
121128 - name : Upload build artifact
122129 uses : actions/upload-artifact@v4
123130 with :
@@ -130,30 +137,26 @@ jobs:
130137 matrix :
131138 os : [ubuntu-22.04]
132139 arch : [x86_64]
133- rocm_version :
134- ["6.1.2", "6.2.4", "6.3.4", "6.4.4", "7.0"]
140+ rocm_version : ["6.2.4", "6.3.4", "6.4.4", "7.0.2"]
135141 runs-on : ${{ matrix.os }}
136142 steps :
137143 - uses : actions/checkout@v4
138144 - name : Clean up disk space
139145 run : |
146+ echo "Disk space before cleanup:"
147+ df -h
148+
149+ # These are the biggest disk space hogs.
140150 sudo rm -rf \
141- /usr/share/dotnet \
142- /opt/ghc \
143- "/usr/local/share/boost" \
144- "$AGENT_TOOLSDIRECTORY" \
145- /opt/hostedtoolcache \
146- /opt/google/chrome \
147- /opt/microsoft/msedge \
148- /opt/microsoft/powershell \
149- /opt/pipx \
150- /usr/lib/mono \
151- /usr/local/julia* \
152- /usr/local/lib/android \
153- /usr/local/lib/node_modules \
154- /usr/local/share/chromium \
155- /usr/local/share/powershell \
156- /usr/share/swift
151+ /opt/hostedtoolcache/CodeQL \
152+ /usr/lib/dotnet \
153+ /usr/lib/jvm \
154+ /usr/local/.ghcup \
155+ /usr/local/lib/android \
156+ /usr/share/swift
157+
158+ echo "Disk space after cleanup:"
159+ df -h
157160 - name : Build C++
158161 run : bash .github/scripts/build-rocm.sh
159162 env :
0 commit comments