aboutsummaryrefslogtreecommitdiffstats
path: root/.build.yml
blob: edbd13c4ed6c477a5ace4d13d319aaeeff854d44 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
image: alpine/3.22
packages:
  - go
  - docker
  - docker-cli-compose
sources:
  - https://git.sr.ht/~eugenetriguba/bolt
tasks:
  - setup: |
      # Start Docker daemon for running test containers
      # --bip 172.18.0.1/16 is a networking workaround for builds.sr.ht
      # See: https://todo.sr.ht/~sircmpwn/builds.sr.ht/223
      sudo nohup dockerd --bip 172.18.0.1/16 &
      sleep 10
  - test: |
      cd bolt
      ./scripts/test.sh
      ./scripts/combine-coverage.sh