4d80f7d9f0
This diff forward ports adcb0f9ae3b9e074c301d4f7f0e8f2d0ef6466b9. Original commit message: - - - - ensure we use go1.17.3 in workflows - update to a version of ooni/oohttp that uses go1.17.3 This change WILL need to be forward ported to master. Closes https://github.com/ooni/probe/issues/1861
30 lines
787 B
YAML
30 lines
787 B
YAML
# windows builds ooniprobe for Windows
|
|
name: windows
|
|
on:
|
|
push:
|
|
branches:
|
|
- "release/**"
|
|
jobs:
|
|
build:
|
|
runs-on: "ubuntu-20.04"
|
|
steps:
|
|
- uses: actions/setup-go@v1
|
|
with:
|
|
go-version: "1.17.3"
|
|
- uses: actions/checkout@v2
|
|
- run: sudo apt install mingw-w64
|
|
- run: ./mk OONI_PSIPHON_TAGS="" MINGW_W64_VERSION="9.3-win32" ./CLI/windows/amd64/ooniprobe.exe
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: ooniprobe.exe
|
|
path: ./CLI/windows/amd64/ooniprobe.exe
|
|
test:
|
|
needs: build
|
|
runs-on: "windows-2019"
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/download-artifact@v2
|
|
with:
|
|
name: ooniprobe.exe
|
|
- run: bash.exe ./E2E/ooniprobe.sh ./ooniprobe.exe
|