-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathappveyor.yml
33 lines (27 loc) · 1.12 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
environment:
CARGO_PATH: c:\users\appveyor\.cargo
RUST_VERSION: 1.43.0
CARGO_HTTP_CHECK_REVOKE: false
S2PNG_COMMAND: target\debug\s2png.exe
cache:
- '$(CARGO_PATH) -> appveyor.yml, Cargo.lock, Cargo.toml'
install:
- cmd: appveyor-retry appveyor DownloadFile https://github.com/projectdiscovery/proxify/releases/download/v0.0.9/proxify_0.0.9_windows_386.zip -FileName proxify.zip
- cmd: unzip -n proxify.zip
- ps: Start-Process -FilePath proxify.exe -ArgumentList "-config","proxify-config","-http-addr","127.0.0.1:18080"
- cmd: timeout /t 5
- ps: Import-Certificate -FilePath "proxify-config\cacert.pem" -CertStoreLocation Cert:\LocalMachine\Root
- cmd: appveyor-retry appveyor DownloadFile https://win.rustup.rs -FileName rustup-init.exe
- cmd: set HTTP_PROXY=127.0.0.1:18080
- cmd: set HTTPS_PROXY=127.0.0.1:18080
- cmd: set PATH=%CARGO_PATH%\bin;%PATH%
- cmd: rustup-init.exe --default-toolchain %RUST_VERSION% -y
build_script:
- cmd: cargo build
test_script:
- cmd: cargo test
- cmd: cargo test -- --ignored
after_test:
- cmd: copy %S2PNG_COMMAND% s2png-win32.exe
artifacts:
- path: s2png-win32.exe