ooni-probe-cli/.github/workflows/go1.19.yml
Simone Basso 9e38ee5135
feat: build ooniprobe for armv6 (#904)
Part of https://github.com/ooni/probe/issues/1753.

While there, introduce a rule by which, if the branch is named `fullbuild` we run all possible builds. It helps to test all the builds without creating a release branch. Because release branches are protected, they cannot be deleted easily. On the contrary, the `fullbuild` branch can easily be disposed of.
2022-08-29 17:33:42 +02:00

29 lines
582 B
YAML

# Interim build script checking for go1.19
#
# Psiphon not working with go1.19: TODO(https://github.com/ooni/probe/issues/2222)
#
name: go1.19
on:
pull_request:
push:
branches:
- "master"
- "release/**"
- "fullbuild"
jobs:
build_and_test:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- run: go install golang.org/dl/go1.19@latest
- run: $(go env GOPATH)/bin/go1.19 download
- run: $(go env GOPATH)/bin/go1.19 build -v ./...
- run: $(go env GOPATH)/bin/go1.19 test -short -race -tags shaping ./...