Update .gitea/workflows/docker-test.yml
Some checks failed
Docker Test / test (push) Failing after 1s
Some checks failed
Docker Test / test (push) Failing after 1s
This commit is contained in:
parent
6753446ef7
commit
872c4cae13
@ -1,23 +1,14 @@
|
|||||||
name: Docker Test
|
name: Docker Test
|
||||||
on: [push]
|
on: [push]
|
||||||
jobs:
|
|
||||||
build:
|
jobs:
|
||||||
runs-on: windows # Must match runner's label in config.yaml
|
test:
|
||||||
container:
|
runs-on: windows # Your Windows runner label
|
||||||
image: mcr.microsoft.com/windows/servercore:ltsc2019
|
container:
|
||||||
options: --isolation=process --entrypoint cmd /c "timeout 5" # Test container startup
|
image: mcr.microsoft.com/windows/servercore:ltsc2019 # Windows Server 2019 base image
|
||||||
steps:
|
options: --isolation=process # Required for Windows containers
|
||||||
- name: Debug container
|
steps:
|
||||||
run: echo "Container is alive!"
|
- name: Test Docker
|
||||||
|
run: |
|
||||||
- name: Install Rust
|
docker --version
|
||||||
if: success()
|
hostname
|
||||||
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
|
|
||||||
if: success()
|
|
||||||
run: cargo build
|
|
||||||
Loading…
x
Reference in New Issue
Block a user