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:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: windows-2019
|
runs-on: windows-cont # Must match your runner's label in config.yaml
|
||||||
container:
|
container:
|
||||||
image: mcr.microsoft.com/windows/servercore:ltsc2019
|
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:
|
steps:
|
||||||
- name: Install Rust
|
- name: Ping test
|
||||||
run: |
|
run: ping 127.0.0.1 -n 5 # Basic connectivity check
|
||||||
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
|
|
||||||
Loading…
x
Reference in New Issue
Block a user