4d80f7d9f0
This diff forward ports adcb0f9ae3b9e074c301d4f7f0e8f2d0ef6466b9. Original commit message: - - - - ensure we use go1.17.3 in workflows - update to a version of ooni/oohttp that uses go1.17.3 This change WILL need to be forward ported to master. Closes https://github.com/ooni/probe/issues/1861
41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
# miniooni checks whether we can build the research client miniooni
|
|
# and publishes the linux binaries as artefacts. There is no point in
|
|
# publishing windows or darwin binaries b/c they are not signed.
|
|
name: miniooni
|
|
on:
|
|
push:
|
|
branches:
|
|
- "master"
|
|
- "release/**"
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- uses: actions/setup-go@v1
|
|
with:
|
|
go-version: "1.17.3"
|
|
- uses: actions/checkout@v2
|
|
- run: ./mk OONI_PSIPHON_TAGS="" ./CLI/miniooni
|
|
|
|
- run: ./E2E/miniooni.bash ./CLI/linux/amd64/miniooni
|
|
|
|
- uses: actions/upload-artifact@v1
|
|
with:
|
|
name: miniooni-linux-386
|
|
path: ./CLI/linux/386/miniooni
|
|
|
|
- uses: actions/upload-artifact@v1
|
|
with:
|
|
name: miniooni-linux-amd64
|
|
path: ./CLI/linux/amd64/miniooni
|
|
|
|
- uses: actions/upload-artifact@v1
|
|
with:
|
|
name: miniooni-linux-arm
|
|
path: ./CLI/linux/arm/miniooni
|
|
|
|
- uses: actions/upload-artifact@v1
|
|
with:
|
|
name: miniooni-linux-arm64
|
|
path: ./CLI/linux/arm64/miniooni
|