2020-08-22 11:20:50 +02:00
|
|
|
# Build and test macOS binary
|
|
|
|
name: macos
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
schedule:
|
|
|
|
- cron: "14 17 * * 3"
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: "macos-latest"
|
|
|
|
steps:
|
|
|
|
- uses: actions/setup-go@v1
|
|
|
|
with:
|
2021-03-02 12:08:24 +01:00
|
|
|
go-version: "1.16"
|
2020-08-22 11:20:50 +02:00
|
|
|
- uses: actions/checkout@v2
|
2020-08-24 19:16:58 +02:00
|
|
|
- run: ./build.sh darwin
|
|
|
|
- run: ./smoketest.sh ./CLI/darwin/amd64/ooniprobe
|
2020-08-22 11:20:50 +02:00
|
|
|
- uses: actions/upload-artifact@v1
|
|
|
|
with:
|
2020-08-24 19:16:58 +02:00
|
|
|
name: ooniprobe-darwin-amd64
|
|
|
|
path: ./CLI/darwin/amd64/ooniprobe
|