feat(gha): build debian package using ./make (#331)

Part of https://github.com/ooni/probe/issues/1466. We're building both `arm64` and `amd64`. We are still not publishing `arm64` packages, which is what is asked in the original issue, but we're really close to doing that.
This commit is contained in:
Simone Basso
2021-05-06 22:13:09 +02:00
committed by GitHub
parent c258a0fedd
commit 3109d56aef
6 changed files with 142 additions and 2 deletions
+2 -1
View File
@@ -5,7 +5,6 @@ on:
push:
branches:
- "master"
- "deb-s3"
- "release/**"
tags:
- "v*"
@@ -22,6 +21,8 @@ jobs:
go-version: "1.16"
- uses: actions/checkout@v2
- run: DOCKER_CLI_EXPERIMENTAL=enabled ./build.sh linux_amd64
- run: mkdir -p debian/bin
- run: cp ./CLI/linux/amd64/ooniprobe debian/bin/ooniprobe
- run: sudo apt-get update -q
- run: sudo apt-get build-dep -y --no-install-recommends .
- name: Install deps
+2
View File
@@ -17,6 +17,7 @@ jobs:
env:
DOCKER_CLI_EXPERIMENTAL: enabled
- run: ./smoketest.sh ./CLI/linux/amd64/ooniprobe
- run: ./make --disable-embedding-psiphon-config -t debian_amd64
build_arm64:
runs-on: "ubuntu-20.04"
@@ -30,3 +31,4 @@ jobs:
env:
DOCKER_CLI_EXPERIMENTAL: enabled
- run: ./smoketest.sh ./CLI/linux/arm64/ooniprobe
- run: ./make --disable-embedding-psiphon-config -t debian_arm64