Skip to content

Commit 5e9ab42

Browse files
committed
Print clang version on windows
Signed-off-by: David Calavera <[email protected]>
1 parent f0b7d78 commit 5e9ab42

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.appveyor.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ for:
7979
- ps: Expand-Archive -DestinationPath C:\Users\appveyor\ C:\Users\appveyor\ziglang.zip
8080
- set PATH=%PATH%;C:\Users\appveyor\zig-windows-x86_64-%ZIGLANG_VERSION%
8181
- "zig version"
82+
- "clang --version"
8283

8384
# install Rust
8485
- appveyor-retry appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
@@ -121,8 +122,9 @@ for:
121122
- sh: "PATH=/opt/gradle/gradle-5.5/bin:$PATH"
122123

123124
# 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"
126128

127129
# Install rust
128130
- sh: "curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal"

0 commit comments

Comments
 (0)