Skip to content

Commit

Permalink
ci(appveyor): fix SSL error with HTTPS proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
dbohdan committed Jul 21, 2023
1 parent 3df40ff commit dc3e4de
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,16 @@ 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: rustup-init.exe --default-toolchain %RUST_VERSION% -y
- 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
Expand Down

0 comments on commit dc3e4de

Please sign in to comment.