diff --git a/.github/workflows/alltests.yml b/.github/workflows/alltests.yml index 069c791..9d47b28 100644 --- a/.github/workflows/alltests.yml +++ b/.github/workflows/alltests.yml @@ -4,6 +4,7 @@ on: push: branches: - "release/**" + - "fullbuild" jobs: test: diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 75aa02d..2b9fa7a 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -4,6 +4,7 @@ on: push: branches: - "release/**" + - "fullbuild" tags: - "v*" diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 12d8e25..cdd04dc 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -6,6 +6,7 @@ on: branches: - "master" - "release/**" + - "fullbuild" jobs: analyze: diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 2bd993f..698ff0d 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -6,6 +6,7 @@ on: branches: - "master" - "release/**" + - "fullbuild" jobs: measure_coverage: diff --git a/.github/workflows/debianrepo.yml b/.github/workflows/debianrepo.yml index d316df6..3359ce1 100644 --- a/.github/workflows/debianrepo.yml +++ b/.github/workflows/debianrepo.yml @@ -5,6 +5,7 @@ on: branches: - "master" - "release/**" + - "fullbuild" jobs: test_386: diff --git a/.github/workflows/generate.yml b/.github/workflows/generate.yml index 7ebcd0b..07a247e 100644 --- a/.github/workflows/generate.yml +++ b/.github/workflows/generate.yml @@ -4,6 +4,7 @@ on: push: branches: - "release/**" + - "fullbuild" jobs: test: diff --git a/.github/workflows/go1.19.yml b/.github/workflows/go1.19.yml index 0e6e6c8..6a09e58 100644 --- a/.github/workflows/go1.19.yml +++ b/.github/workflows/go1.19.yml @@ -9,6 +9,7 @@ on: branches: - "master" - "release/**" + - "fullbuild" jobs: build_and_test: diff --git a/.github/workflows/gosec.yml b/.github/workflows/gosec.yml index 1c442ea..4e74082 100644 --- a/.github/workflows/gosec.yml +++ b/.github/workflows/gosec.yml @@ -5,6 +5,7 @@ on: branches: - "master" - "release/**" + - "fullbuild" jobs: gosec: diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml index 4da0a2f..dc8be3e 100644 --- a/.github/workflows/ios.yml +++ b/.github/workflows/ios.yml @@ -4,6 +4,7 @@ on: push: branches: - "release/**" + - "fullbuild" tags: - "v*" diff --git a/.github/workflows/jafar.yml b/.github/workflows/jafar.yml index 66225ee..ac1ac07 100644 --- a/.github/workflows/jafar.yml +++ b/.github/workflows/jafar.yml @@ -4,6 +4,7 @@ on: push: branches: - "release/**" + - "fullbuild" jobs: test: diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 5402aeb..d75073b 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -4,6 +4,7 @@ on: push: branches: - "release/**" + - "fullbuild" tags: - "v*" @@ -57,6 +58,32 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + build_and_publish_armv6: + runs-on: "ubuntu-20.04" + permissions: # See https://github.com/ooni/probe/issues/2154 + contents: write + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - run: sudo apt-get update -q + - run: sudo apt-get install -y qemu-user-static + - run: | + echo -n $PSIPHON_CONFIG_KEY > ./internal/engine/psiphon-config.key + echo $PSIPHON_CONFIG_JSON_AGE_BASE64 | base64 -d > ./internal/engine/psiphon-config.json.age + env: + PSIPHON_CONFIG_KEY: ${{ secrets.PSIPHON_CONFIG_KEY }} + PSIPHON_CONFIG_JSON_AGE_BASE64: ${{ secrets.PSIPHON_CONFIG_JSON_AGE_BASE64 }} + - run: make ./CLI/ooniprobe-linux-armv6 + - run: ./E2E/ooniprobe.sh ./CLI/ooniprobe-linux-armv6 + - run: | + tag=$(echo $GITHUB_REF | sed 's|refs/tags/||g') + gh release create -p $tag --target $GITHUB_SHA || true + gh release upload $tag --clobber ./CLI/ooniprobe-linux-armv6 + if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + build_and_publish_armv7: runs-on: "ubuntu-20.04" permissions: # See https://github.com/ooni/probe/issues/2154 diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 542d925..03aaa4e 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -4,6 +4,7 @@ on: push: branches: - "release/**" + - "fullbuild" tags: - "v*" diff --git a/.github/workflows/miniooni.yml b/.github/workflows/miniooni.yml index fe3acb9..9392b50 100644 --- a/.github/workflows/miniooni.yml +++ b/.github/workflows/miniooni.yml @@ -9,6 +9,7 @@ on: branches: - "master" - "release/**" + - "fullbuild" tags: - "v*" diff --git a/.github/workflows/netxlite.yml b/.github/workflows/netxlite.yml index 542fc5c..5d3b9cb 100644 --- a/.github/workflows/netxlite.yml +++ b/.github/workflows/netxlite.yml @@ -8,6 +8,7 @@ on: branches: - "master" - "release/**" + - "fullbuild" jobs: test_netxlite_package: diff --git a/.github/workflows/oohelperd.yml b/.github/workflows/oohelperd.yml index b6135b6..f2a4089 100644 --- a/.github/workflows/oohelperd.yml +++ b/.github/workflows/oohelperd.yml @@ -4,6 +4,7 @@ on: push: branches: - "release/**" + - "fullbuild" tags: - "v*" diff --git a/.github/workflows/qafbmessenger.yml b/.github/workflows/qafbmessenger.yml index 0e8d499..db33db5 100644 --- a/.github/workflows/qafbmessenger.yml +++ b/.github/workflows/qafbmessenger.yml @@ -4,6 +4,7 @@ on: push: branches: - "release/**" + - "fullbuild" jobs: test: diff --git a/.github/workflows/qahhfm.yml b/.github/workflows/qahhfm.yml index 477fd61..9853064 100644 --- a/.github/workflows/qahhfm.yml +++ b/.github/workflows/qahhfm.yml @@ -4,6 +4,7 @@ on: push: branches: - "release/**" + - "fullbuild" jobs: test: diff --git a/.github/workflows/qahirl.yml b/.github/workflows/qahirl.yml index b3eb70f..dc778bf 100644 --- a/.github/workflows/qahirl.yml +++ b/.github/workflows/qahirl.yml @@ -4,6 +4,7 @@ on: push: branches: - "release/**" + - "fullbuild" jobs: test: diff --git a/.github/workflows/qatelegram.yml b/.github/workflows/qatelegram.yml index 22a73c1..2023940 100644 --- a/.github/workflows/qatelegram.yml +++ b/.github/workflows/qatelegram.yml @@ -4,6 +4,7 @@ on: push: branches: - "release/**" + - "fullbuild" jobs: test: diff --git a/.github/workflows/qawebconnectivity.yml b/.github/workflows/qawebconnectivity.yml index 57266ab..522d13c 100644 --- a/.github/workflows/qawebconnectivity.yml +++ b/.github/workflows/qawebconnectivity.yml @@ -4,6 +4,7 @@ on: push: branches: - "release/**" + - "fullbuild" jobs: test: diff --git a/.github/workflows/qawhatsapp.yml b/.github/workflows/qawhatsapp.yml index fc17cda..3d379b4 100644 --- a/.github/workflows/qawhatsapp.yml +++ b/.github/workflows/qawhatsapp.yml @@ -4,6 +4,7 @@ on: push: branches: - "release/**" + - "fullbuild" jobs: test: diff --git a/.github/workflows/tarball.yml b/.github/workflows/tarball.yml index 895fb27..e743a3f 100644 --- a/.github/workflows/tarball.yml +++ b/.github/workflows/tarball.yml @@ -2,6 +2,8 @@ name: tarball on: push: + branches: + - "fullbuild" tags: - "v*" diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index c3f8b3b..bc68da9 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -4,6 +4,7 @@ on: push: branches: - "release/**" + - "fullbuild" tags: - "v*" diff --git a/Makefile b/Makefile index d6063c4..6eb6b00 100644 --- a/Makefile +++ b/Makefile @@ -149,6 +149,7 @@ show-config: ./CLI/ooniprobe-linux: \ ./CLI/ooniprobe-linux-386 \ ./CLI/ooniprobe-linux-amd64 \ + ./CLI/ooniprobe-linux-armv6 \ ./CLI/ooniprobe-linux-armv7 \ ./CLI/ooniprobe-linux-arm64 @@ -164,6 +165,12 @@ show-config: ./CLI/ooniprobe-linux-amd64: search/for/docker maybe/copypsiphon ./CLI/go-build-linux-static amd64 ./cmd/ooniprobe +#help: +#help: * `make ./CLI/ooniprobe-linux-armv6`: linux/arm +.PHONY: ./CLI/ooniprobe-linux-armv6 +./CLI/ooniprobe-linux-armv6: search/for/docker maybe/copypsiphon + ./CLI/go-build-linux-static armv6 ./cmd/ooniprobe + #help: #help: * `make ./CLI/ooniprobe-linux-armv7`: linux/arm .PHONY: ./CLI/ooniprobe-linux-armv7