6125eb96a6
1. we can merge the e2eminiooni.yml test into the miniooni.yml test so to reduce the number of tests we run; 2. ideally we would like the smoketest.sh test to evolve and also check whether we can fetch the measurements we submitted, so start moving this script into the `./E2E` folder, add a note saying we would like to do that, and direct all the tests to run this script at its new location and with its new name (`ooniprobe.sh`). With these two changes, it's fine to remove the ooniprobe2debian.yml test in ooni/e2etesting because we're moving its functionality to this repository. (We mentioned the need to do this move in a previous TODO comment at the top of such a script.) Work part of https://github.com/ooni/probe/issues/1468
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.16.4"
|
|
- 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
|