4c65147009
* Use ooni/probe-engine 0.16.0 * Update all the other dependencies * Use GitHub Actions rather than Travis CI * Automatically build and test binaries on the target OS (for Windows, macOS, Linux on amd64) * Make sure we correctly measure coverage * Make sure we use `-race` when running tests * Remove unnecessary scripts * Make sure the README is up-to-date * Write small script to update binary data and add GitHub Actions checks for it * Notice that we needed to run ./updatebindata.sh and run it * Self documenting instructions regarding cross compiling * Set version number to v3.0.7-beta Part of https://github.com/ooni/probe-engine/issues/748
21 lines
520 B
YAML
21 lines
520 B
YAML
# Build and test Windows binary
|
|
name: windows
|
|
on:
|
|
push:
|
|
schedule:
|
|
- cron: "14 17 * * 3"
|
|
jobs:
|
|
build:
|
|
runs-on: "windows-latest"
|
|
steps:
|
|
- uses: actions/setup-go@v1
|
|
with:
|
|
go-version: "1.14"
|
|
- uses: actions/checkout@v2
|
|
- run: bash.exe ./build.sh windows
|
|
- run: bash.exe ./smoketest.sh ./CLI/windows/amd64/ooniprobe.exe
|
|
- uses: actions/upload-artifact@v1
|
|
with:
|
|
name: ooniprobe-windows-amd64
|
|
path: ./CLI/windows/amd64/ooniprobe.exe
|