ooni-probe-cli/.github/workflows
Simone Basso 638acb0830
fix: build ooniprobe for linux using debian/amd64 (#552) (#553)
In https://github.com/ooni/probe/issues/1741, we observed that
every attempt to use `docker --platform` along with `debian` for
packaging ooniprobe fails with `SEGFAULT`, except when using
the `debian:oldstable` container.

To fix this issue, in this diff we fix Debian packaging to run on
any debian system (`debian:stable` in our case) provided that we
have `qemu-user-static` installed on the system and the system is
a Debian (or Debian-derived) system.

The trick here is to use `dpkg-buildpackage -a $deb_arch`. We
also need to disable a few `debian/rules` that we don't actually
need anyway.

Closes https://github.com/ooni/probe/issues/1741.

This cherry-picks 36a5bf34f99f382a081efd642dd472888a57602b
from the stable branch into the master branch.
2021-10-22 15:14:11 +02:00
..
alltests.yml master: update deps and set version to 3.12.0-alpha (#548) 2021-10-20 18:16:40 +02:00
android.yml master: update deps and set version to 3.12.0-alpha (#548) 2021-10-20 18:16:40 +02:00
codeql-analysis.yml master: update deps and set version to 3.12.0-alpha (#548) 2021-10-20 18:16:40 +02:00
coverage.yml master: update deps and set version to 3.12.0-alpha (#548) 2021-10-20 18:16:40 +02:00
debianrepo.yml fix(ci/debianrepo): avoid running docker arm64 (#551) 2021-10-21 16:55:00 +02:00
generate.yml master: update deps and set version to 3.12.0-alpha (#548) 2021-10-20 18:16:40 +02:00
ios.yml master: update deps and set version to 3.12.0-alpha (#548) 2021-10-20 18:16:40 +02:00
jafar.yml master: update deps and set version to 3.12.0-alpha (#548) 2021-10-20 18:16:40 +02:00
linux.yml fix: build ooniprobe for linux using debian/amd64 (#552) (#553) 2021-10-22 15:14:11 +02:00
macos.yml master: update deps and set version to 3.12.0-alpha (#548) 2021-10-20 18:16:40 +02:00
miniooni.yml master: update deps and set version to 3.12.0-alpha (#548) 2021-10-20 18:16:40 +02:00
netxlite.yml master: update deps and set version to 3.12.0-alpha (#548) 2021-10-20 18:16:40 +02:00
oohelperd.yml master: update deps and set version to 3.12.0-alpha (#548) 2021-10-20 18:16:40 +02:00
qafbmessenger.yml master: update deps and set version to 3.12.0-alpha (#548) 2021-10-20 18:16:40 +02:00
qahhfm.yml master: update deps and set version to 3.12.0-alpha (#548) 2021-10-20 18:16:40 +02:00
qahirl.yml master: update deps and set version to 3.12.0-alpha (#548) 2021-10-20 18:16:40 +02:00
qatelegram.yml master: update deps and set version to 3.12.0-alpha (#548) 2021-10-20 18:16:40 +02:00
qawebconnectivity.yml master: update deps and set version to 3.12.0-alpha (#548) 2021-10-20 18:16:40 +02:00
qawhatsapp.yml master: update deps and set version to 3.12.0-alpha (#548) 2021-10-20 18:16:40 +02:00
windows.yml master: update deps and set version to 3.12.0-alpha (#548) 2021-10-20 18:16:40 +02:00