image: alpine/latest
packages:
  - bash
  - busybox
  - curl
  - gcc
sources:
  - https://git.sr.ht/~tk/pack
tasks:
  - setup: |
      cd pack
      curl -O 'https://raw.githubusercontent.com/apenwarr/redo/redo-0.42d/minimal/do'
      chmod +x do
      ./configure -Wgcc -v
  - build: |
      cd pack
      ./do
  - test: |
      cd pack
      ./test