322394fe63
* feat: use go1.16 embedding for resources We want to embed everything that can be easily embedded. We should, at a minimum, replace the downloading of resources and bindata. Ref: https://github.com/ooni/probe/issues/1367. * fix: get rid of bindata and use go embed instead * fix: start unbreaking some automatic tests * fix: fetch resources as part of the mobile build * fix: convert more stuff to go1.16 I still expect many breakages, but we'll fix them. * fix: make the windows CI green * fix: get resources before running QA * fix: go1.16 uses modules by default * hopefully fix all other outstanding issues * fix(QA/telegram.py): add another DC IP address * Apply suggestions from code review
25 lines
671 B
YAML
25 lines
671 B
YAML
# Build and test Linux binary
|
|
name: linux
|
|
on:
|
|
push:
|
|
schedule:
|
|
- cron: "14 17 * * 3"
|
|
jobs:
|
|
build:
|
|
runs-on: "ubuntu-latest"
|
|
steps:
|
|
- name: Docker
|
|
run: |
|
|
echo $'{\n "experimental": true\n}' | sudo tee /etc/docker/daemon.json
|
|
sudo service docker restart
|
|
- uses: actions/setup-go@v1
|
|
with:
|
|
go-version: "1.16"
|
|
- uses: actions/checkout@v2
|
|
- run: DOCKER_CLI_EXPERIMENTAL=enabled ./build.sh linux
|
|
- run: ./smoketest.sh ./CLI/linux/amd64/ooniprobe
|
|
- uses: actions/upload-artifact@v1
|
|
with:
|
|
name: ooniprobe-linux-amd64
|
|
path: ./CLI/linux/amd64/ooniprobe
|