2021-05-06 20:44:56 +02:00
|
|
|
# linux builds ooniprobe for Linux
|
2020-08-22 11:20:50 +02:00
|
|
|
name: linux
|
|
|
|
on:
|
|
|
|
push:
|
2021-05-06 20:44:56 +02:00
|
|
|
branches:
|
|
|
|
- "release/**"
|
2020-08-22 11:20:50 +02:00
|
|
|
jobs:
|
2021-05-06 20:44:56 +02:00
|
|
|
|
|
|
|
build_amd64:
|
|
|
|
runs-on: "ubuntu-20.04"
|
2020-08-22 11:20:50 +02:00
|
|
|
steps:
|
2021-05-06 20:44:56 +02:00
|
|
|
- run: |
|
2021-01-20 13:09:37 +01:00
|
|
|
echo $'{\n "experimental": true\n}' | sudo tee /etc/docker/daemon.json
|
|
|
|
sudo service docker restart
|
2020-08-22 11:20:50 +02:00
|
|
|
- uses: actions/checkout@v2
|
2021-05-06 20:44:56 +02:00
|
|
|
- run: ./make --disable-embedding-psiphon-config -t ./CLI/linux/amd64/ooniprobe
|
|
|
|
env:
|
|
|
|
DOCKER_CLI_EXPERIMENTAL: enabled
|
2020-08-22 11:20:50 +02:00
|
|
|
- run: ./smoketest.sh ./CLI/linux/amd64/ooniprobe
|
2021-05-06 22:13:09 +02:00
|
|
|
- run: ./make --disable-embedding-psiphon-config -t debian_amd64
|
2021-05-06 20:44:56 +02:00
|
|
|
|
|
|
|
build_arm64:
|
|
|
|
runs-on: "ubuntu-20.04"
|
|
|
|
steps:
|
|
|
|
- run: |
|
|
|
|
echo $'{\n "experimental": true\n}' | sudo tee /etc/docker/daemon.json
|
|
|
|
sudo service docker restart
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- run: sudo apt-get install qemu-user-static
|
|
|
|
- run: ./make --disable-embedding-psiphon-config -t ./CLI/linux/arm64/ooniprobe
|
|
|
|
env:
|
|
|
|
DOCKER_CLI_EXPERIMENTAL: enabled
|
|
|
|
- run: ./smoketest.sh ./CLI/linux/arm64/ooniprobe
|
2021-05-06 22:13:09 +02:00
|
|
|
- run: ./make --disable-embedding-psiphon-config -t debian_arm64
|