feat(windows): run as a real SCM service, not a Run-key autostart #107
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
@@ -97,12 +97,14 @@ jobs:
|
|||||||
if: always()
|
if: always()
|
||||||
run: |
|
run: |
|
||||||
sudo ./target/release/numa uninstall 2>/dev/null || true
|
sudo ./target/release/numa uninstall 2>/dev/null || true
|
||||||
# Wait for systemd-resolved to fully restore DNS so post-job
|
# systemd-resolved has a ~40s DNS reconfiguration stall after
|
||||||
# steps (rust-cache upload, log shipping) can reach GitHub.
|
# restart (systemd issue #22521) that breaks the runner agent's
|
||||||
for i in $(seq 1 30); do
|
# connection to GitHub. Bridge it by replacing the stub-resolv
|
||||||
if getent hosts github.com >/dev/null 2>&1; then break; fi
|
# symlink with a direct upstream — DNS works instantly and the
|
||||||
sleep 1
|
# runner can phone home for post-job steps.
|
||||||
done
|
sudo rm -f /etc/resolv.conf
|
||||||
|
echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf > /dev/null
|
||||||
|
getent hosts github.com >/dev/null
|
||||||
|
|
||||||
integration-macos:
|
integration-macos:
|
||||||
needs: [check-macos]
|
needs: [check-macos]
|
||||||
|
|||||||
Reference in New Issue
Block a user