File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ environment:
8
8
GRADLE_OPTS : -Dorg.gradle.daemon=false
9
9
nodejs_version : " 14.17.6"
10
10
CARGO_LAMBDA_VERSION : " v0.5.3"
11
+ ZIGLANG_VERSION : " 0.9.1"
11
12
12
13
matrix :
13
14
- PYTHON : " C:\\ Python36-x64"
74
75
- 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\\ '\" "
75
76
76
77
# install Zig to cross compile Rust functions
77
- - " npm install -g @ziglang/cli"
78
- - " ziglang version"
78
+ - ps : Invoke-WebRequest -Uri https://ziglang.org/download/$env:ZIGLANG_VERSION/zig-windows-x86_64-$env:ZIGLANG_VERSION.zip -OutFile C:\Users\appveyor\ziglang.zip
79
+ - ps : Expand-Archive -DestinationPath C:\Users\appveyor\ C:\Users\appveyor\ziglang.zip
80
+ - set PATH=%PATH%;C:\Users\appveyor\zig-windows-x86_64-%ZIGLANG_VERSION%
79
81
80
82
# install Rust
81
83
- appveyor-retry appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
118
120
- sh : " PATH=/opt/gradle/gradle-5.5/bin:$PATH"
119
121
120
122
# install Zig to cross compile Rust functions
121
- - " npm install -g @ ziglang/cli "
122
- - " ziglang version"
123
+ - sh : " pip install ziglang"
124
+ - sh : " python -m ziglang version"
123
125
124
126
# Install rust
125
127
- sh : " curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal"
You can’t perform that action at this time.
0 commit comments