2021-04-29 19:24:25 +02:00
|
|
|
# miniooni checks whether we can build the research client miniooni
|
2021-05-06 19:56:55 +02:00
|
|
|
# and publishes the linux binaries as artefacts. There is no point in
|
2021-04-29 19:24:25 +02:00
|
|
|
# publishing windows or darwin binaries b/c they are not signed.
|
2021-02-02 12:05:47 +01:00
|
|
|
name: miniooni
|
|
|
|
on:
|
|
|
|
push:
|
2021-05-06 19:56:55 +02:00
|
|
|
branches:
|
|
|
|
- "release/**"
|
2021-02-02 12:05:47 +01:00
|
|
|
jobs:
|
|
|
|
test:
|
2021-04-29 19:24:25 +02:00
|
|
|
runs-on: ubuntu-20.04
|
2021-02-02 12:05:47 +01:00
|
|
|
steps:
|
2021-05-11 16:15:13 +02:00
|
|
|
- uses: actions/setup-go@v1
|
|
|
|
with:
|
|
|
|
go-version: "1.16.4"
|
2021-02-02 12:05:47 +01:00
|
|
|
- uses: actions/checkout@v2
|
2021-05-11 16:15:13 +02:00
|
|
|
- run: ./mk OONI_PSIPHON_TAGS="" ./CLI/miniooni
|
2021-05-06 19:56:55 +02:00
|
|
|
|
2021-05-13 18:04:47 +02:00
|
|
|
- run: ./E2E/miniooni.bash ./CLI/linux/amd64/miniooni
|
2021-04-29 19:24:25 +02:00
|
|
|
|
2021-02-02 12:05:47 +01:00
|
|
|
- uses: actions/upload-artifact@v1
|
|
|
|
with:
|
|
|
|
name: miniooni-linux-386
|
|
|
|
path: ./CLI/linux/386/miniooni
|
2021-04-29 19:24:25 +02:00
|
|
|
|
2021-02-02 12:05:47 +01:00
|
|
|
- uses: actions/upload-artifact@v1
|
|
|
|
with:
|
|
|
|
name: miniooni-linux-amd64
|
|
|
|
path: ./CLI/linux/amd64/miniooni
|
2021-04-29 19:24:25 +02:00
|
|
|
|
2021-02-02 12:05:47 +01:00
|
|
|
- uses: actions/upload-artifact@v1
|
|
|
|
with:
|
2021-02-02 15:34:03 +01:00
|
|
|
name: miniooni-linux-arm
|
|
|
|
path: ./CLI/linux/arm/miniooni
|
2021-04-29 19:24:25 +02:00
|
|
|
|
2021-02-02 12:05:47 +01:00
|
|
|
- uses: actions/upload-artifact@v1
|
|
|
|
with:
|
|
|
|
name: miniooni-linux-arm64
|
|
|
|
path: ./CLI/linux/arm64/miniooni
|