Update .gitea/workflows/docker-test.yml
All checks were successful
Windows Build / build (push) Successful in 1s
All checks were successful
Windows Build / build (push) Successful in 1s
This commit is contained in:
parent
944965ecf0
commit
0ba2325fe6
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user