Update .gitea/workflows/docker-test.yml
All checks were successful
Windows Build / build (push) Successful in 1s

This commit is contained in:
monheim 2025-04-20 22:18:26 +02:00
parent 944965ecf0
commit 0ba2325fe6

View File

@ -1,16 +1,11 @@
jobs:
build:
runs-on: windows-2019
runs-on: windows-cont # Must match your runner's label in config.yaml
container:
image: mcr.microsoft.com/windows/servercore:ltsc2019
options: --isolation=process
options: --isolation=process --entrypoint cmd /c # Force CMD as entrypoint
env:
ACTIONS_RUNNER_HOOK_JOB_STARTED: "echo Container started" # Debug hook
steps:
- name: Install Rust
run: |
curl -sSf -o rustup-init.exe https://win.rustup.rs/
.\rustup-init.exe -y --default-toolchain stable
refreshenv
rustup component add rust-src
- name: Build
run: |
cargo build --release
- name: Ping test
run: ping 127.0.0.1 -n 5 # Basic connectivity check