There was an error while loading. Please reload this page.
1 parent e0b4667 commit 3239179Copy full SHA for 3239179
1 file changed
.github/actions/environment-check/action.yml
@@ -151,9 +151,10 @@ runs:
151
fi
152
cd "$MTL_SOURCE"
153
./build.sh
154
- # Capture MTL installables via DESTDIR before sudo install (build dir still runner-owned)
+ # build.sh runs sudo ninja install internally, leaving meson-logs owned by root.
155
+ # Restore runner ownership so the unprivileged DESTDIR capture can write install-log.txt.
156
+ sudo chown -R "$(id -u):$(id -g)" "$MTL_SOURCE/build/meson-logs"
157
DESTDIR="$RUNNER_TEMP/dvledtx-deps" ninja -C "$MTL_SOURCE/build" install
- sudo ninja -C "$MTL_SOURCE/build" install
158
sudo ldconfig
159
echo " MTL installed: $(pkg-config --modversion mtl)"
160
0 commit comments