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:OBFS4PROXY_TAG = 'obfs4proxy-0.0.13'
New-Item -ItemType Directory -Force -Path .\build\obfs4proxy
cd .\build\obfs4proxy
git clone https://gitlab.com/yawning/obfs4
cd obfs4
git checkout $OBFS4PROXY_TAG
go build .\obfs4proxy
Move-Item -Path .\obfs4proxy.exe -Destination ..\onionshare\resources\tor\obfs4proxy.exe