Update .gitea/workflows/docker-test.yml
This commit is contained in:
parent
4e5ce8182b
commit
6753446ef7
@ -1,22 +1,23 @@
|
|||||||
jobs:
|
name: Docker Test
|
||||||
on: [push]
|
on: [push]
|
||||||
build:
|
jobs:
|
||||||
runs-on: windows # Must match runner's label in config.yaml
|
build:
|
||||||
container:
|
runs-on: windows # Must match runner's label in config.yaml
|
||||||
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
|
||||||
steps:
|
options: --isolation=process --entrypoint cmd /c "timeout 5" # Test container startup
|
||||||
- name: Debug container
|
steps:
|
||||||
run: echo "Container is alive!"
|
- name: Debug container
|
||||||
|
run: echo "Container is alive!"
|
||||||
- name: Install Rust
|
|
||||||
if: success()
|
|
||||||
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
|
- name: Install Rust
|
||||||
if: success()
|
if: success()
|
||||||
run: cargo build
|
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