89a584f93b
Closes https://github.com/ooni/probe/issues/2334. While there, reinstate integration tests, which were also lost in a previous refactoring. However, only run those tests for linux/amd64 because we can be confident that the Go compiler is WAI for all archs we support. While there, always use bash for running end-to-end tests. H/T @ainghazal for discovering and reporting this bug.
38 lines
926 B
YAML
38 lines
926 B
YAML
# Ensures we can install on debian with the official build instructions
|
|
name: debianrepo
|
|
on:
|
|
push:
|
|
branches:
|
|
- "master"
|
|
- "release/**"
|
|
- "fullbuild"
|
|
|
|
jobs:
|
|
test_386:
|
|
runs-on: "ubuntu-20.04"
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- run: sudo ./E2E/debian.bash docker i386
|
|
- run: sudo cat DEBIAN_INSTALLED_PACKAGE.txt
|
|
|
|
test_amd64:
|
|
runs-on: "ubuntu-20.04"
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- run: sudo ./E2E/debian.bash docker amd64
|
|
- run: sudo cat DEBIAN_INSTALLED_PACKAGE.txt
|
|
|
|
test_arm:
|
|
runs-on: "ubuntu-20.04"
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- run: sudo ./E2E/debian.bash docker armhf
|
|
- run: sudo cat DEBIAN_INSTALLED_PACKAGE.txt
|
|
|
|
test_arm64:
|
|
runs-on: "ubuntu-20.04"
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- run: sudo ./E2E/debian.bash docker arm64
|
|
- run: sudo cat DEBIAN_INSTALLED_PACKAGE.txt
|