2021-05-06 20:08:18 +02:00
|
|
|
# windows builds ooniprobe for Windows
|
2020-08-22 11:20:50 +02:00
|
|
|
name: windows
|
|
|
|
on:
|
|
|
|
push:
|
2021-05-06 20:08:18 +02:00
|
|
|
branches:
|
|
|
|
- "release/**"
|
2020-08-22 11:20:50 +02:00
|
|
|
jobs:
|
|
|
|
build:
|
2021-05-06 20:08:18 +02:00
|
|
|
runs-on: "ubuntu-20.04"
|
2020-08-22 11:20:50 +02:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2021-05-06 20:08:18 +02:00
|
|
|
- run: sudo apt install mingw-w64
|
|
|
|
- run: ./make --disable-embedding-psiphon-config -t ./CLI/windows/amd64/ooniprobe.exe
|
|
|
|
- uses: actions/upload-artifact@v2
|
2020-08-22 11:20:50 +02:00
|
|
|
with:
|
2021-05-06 20:08:18 +02:00
|
|
|
name: ooniprobe.exe
|
2020-08-22 11:20:50 +02:00
|
|
|
path: ./CLI/windows/amd64/ooniprobe.exe
|
2021-05-06 20:08:18 +02:00
|
|
|
test:
|
|
|
|
needs: build
|
|
|
|
runs-on: "windows-2019"
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/download-artifact@v2
|
|
|
|
with:
|
|
|
|
name: ooniprobe.exe
|
|
|
|
- run: bash.exe ./smoketest.sh ./ooniprobe.exe
|