File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 79
79
- ps : Expand-Archive -DestinationPath C:\Users\appveyor\ C:\Users\appveyor\ziglang.zip
80
80
- set PATH=%PATH%;C:\Users\appveyor\zig-windows-x86_64-%ZIGLANG_VERSION%
81
81
- " zig version"
82
+ - " clang --version"
82
83
83
84
# install Rust
84
85
- appveyor-retry appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
121
122
- sh : " PATH=/opt/gradle/gradle-5.5/bin:$PATH"
122
123
123
124
# install Zig to cross compile Rust functions
124
- - sh : " pip install ziglang"
125
- - sh : " python -m ziglang version"
125
+ - sh : " wget https://ziglang.org/download/$ZIG_VERSION/zig-linux-x86_64-$ZIG_VERSION.tar.xz -P /tmp"
126
+ - sh : " sudo tar -C /opt -xf /tmp/zig-linux-x86_64-$ZIG_VERSION.tar.xz"
127
+ - sh : " PATH=/opt/zig-linux-x86_64-$ZIG_VERSION:$PATH"
126
128
127
129
# Install rust
128
130
- 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