Make scripts to build PT binaries, and run those in CI

This commit is contained in:
Micah Lee 2022-06-19 14:57:37 -04:00
parent 7526141024
commit 8ff1a0b294
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
10 changed files with 187 additions and 336 deletions

View file

@ -0,0 +1,9 @@
$env:SNOWFLAKE_TAG = 'v2.2.0'
New-Item -ItemType Directory -Force -Path .\build\snowflake
cd .\build\snowflake
git clone https://git.torproject.org/pluggable-transports/snowflake.git
cd snowflake
git checkout $SNOWFLAKE_TAG
go build .\client
Move-Item -Path .\client.exe -Destination ..\onionshare\resources\tor\snowflake-client.exe