Skip to content

Commit 3b72955

Browse files
committed
save
1 parent a6882db commit 3b72955

File tree

1 file changed

+10
-13
lines changed

1 file changed

+10
-13
lines changed

.github/workflows/zxc-compile-code.yaml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -109,20 +109,22 @@ jobs:
109109
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression
110110
scoop install main/kind
111111
scoop install kubectl
112-
scoop install main/minikube
113112
Get-WindowsFeature
114113
# choco install docker-cli
115114
# cd "C:\ProgramData\chocolatey\lib\docker-cli\bin"
116115
# dir
117116

118-
- name: Test Curl Download
117+
- name: WSL Install
118+
uses: Vampire/setup-wsl@v3
119+
if: ${{ runner.os == 'Windows' && (inputs.enable-unit-tests || inputs.enable-e2e-tests) && !cancelled() && !failure() }}
120+
121+
- name: Get WSL Info
119122
if: ${{ runner.os == 'Windows' && inputs.enable-e2e-tests && !cancelled() && !failure() }}
123+
shell: pwsh
120124
run: |
121-
pwd
122-
curl --version
123-
curl -O https://desktop.docker.com/win/main/amd64/Docker%20Desktop%20Installer.exe
124-
ls -ltr
125-
docker info --format '{{.OSType}}'
125+
wsl --version
126+
wsl --list --verbose
127+
wsl --status
126128
127129
- name: Setup Helm
128130
uses: azure/setup-helm@29960d0f5f19214b88e1d9ba750a9914ab0f1a2f # v4.0.0
@@ -168,14 +170,9 @@ jobs:
168170
if: ${{ runner.os == 'linux' && inputs.enable-e2e-tests && !cancelled() && !failure() }}
169171
run: docker image pull kindest/node:v1.27.3@sha256:3966ac761ae0136263ffdb6cfd4db23ef8a83cba8a463690e98317add2c9ba72
170172

171-
- name: Setup E2E Tests Windows
172-
if: ${{ runner.os == 'Windows' && inputs.enable-e2e-tests && !cancelled() && !failure() }}
173-
run: |
174-
npm link
175-
./test/e2e/setup-e2e-windows.sh
176173

177174
- name: Setup E2E Tests Linux
178-
if: ${{ runner.os == 'linux' && inputs.enable-e2e-tests && !cancelled() && !failure() }}
175+
if: ${{ inputs.enable-e2e-tests && !cancelled() && !failure() }}
179176
run: |
180177
npm link
181178
./test/e2e/setup-e2e.sh

0 commit comments

Comments
 (0)