Skip to content

Commit 318b250

Browse files
committed
Don't set the Python path in Ubuntu jobs.
Signed-off-by: David Calavera <[email protected]>
1 parent 7ec5c1b commit 318b250

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.appveyor.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,28 +16,24 @@ environment:
1616
LINE_COVERAGE: "91"
1717
NEW_FLAKE8: 0
1818
JAVA_HOME: "C:\\Program Files\\Java\\jdk11"
19-
CARGO_ZIGBUILD_PYTHON_PATH: "C:\\Python36-x64\\python.exe"
2019
- PYTHON: "C:\\Python37-x64"
2120
PYTHON_VERSION: "3.7"
2221
PYTHON_ARCH: "64"
2322
LINE_COVERAGE: "91"
2423
NEW_FLAKE8: 0
2524
JAVA_HOME: "C:\\Program Files\\Java\\jdk11"
26-
CARGO_ZIGBUILD_PYTHON_PATH: "C:\\Python37-x64\\python.exe"
2725
- PYTHON: "C:\\Python38-x64"
2826
PYTHON_VERSION: "3.8"
2927
PYTHON_ARCH: "64"
3028
LINE_COVERAGE: "72"
3129
NEW_FLAKE8: 1
3230
JAVA_HOME: "C:\\Program Files\\Java\\jdk11"
33-
CARGO_ZIGBUILD_PYTHON_PATH: "C:\\Python38-x64\\python.exe"
3431
- PYTHON: "C:\\Python39-x64"
3532
PYTHON_VERSION: "3.9"
3633
PYTHON_ARCH: "64"
3734
LINE_COVERAGE: "72"
3835
NEW_FLAKE8: 1
3936
JAVA_HOME: "C:\\Program Files\\Java\\jdk11"
40-
CARGO_ZIGBUILD_PYTHON_PATH: "C:\\Python39-x64\\python.exe"
4137

4238
build: off
4339

@@ -83,8 +79,9 @@ for:
8379
- ps: "&powershell -NoProfile -ExecutionPolicy unrestricted -Command \"[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; &([scriptblock]::Create((Invoke-WebRequest -UseBasicParsing 'https://dot.net/v1/dotnet-install.ps1'))) -Version 6.0.200 -InstallDir 'C:\\Program Files\\dotnet\\'\""
8480

8581
# install Zig to cross compile Rust functions
86-
- "%CARGO_ZIGBUILD_PYTHON_PATH% -m pip install ziglang"
87-
- "%CARGO_ZIGBUILD_PYTHON_PATH% -m ziglang version"
82+
- ps: "$env:CARGO_ZIGBUILD_PYTHON_PATH = \"$env:PYTHON\\python.exe\""
83+
- ps: "$env:CARGO_ZIGBUILD_PYTHON_PATH -m pip install ziglang"
84+
- ps: "$env:CARGO_ZIGBUILD_PYTHON_PATH -m ziglang version"
8885

8986
# install Rust
9087
- appveyor-retry appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe

0 commit comments

Comments
 (0)