debian-stable.yml

 1image: debian/stable
 2sources:
 3- https://git.sr.ht/~singpolyma/sgx-jmp
 4packages:
 5- ruby
 6- ruby-dev
 7- bundler
 8- libxml2-dev
 9- libpq-dev
10- rubocop
11environment:
12  LANG: C.UTF-8
13tasks:
14- dependencies: |
15    cd sgx-jmp
16    bundle install --without=development --path=.gems
17- lint: |
18    cd sgx-jmp
19    bundle exec rake lint
20- test: |
21    cd sgx-jmp
22    RANTLY_COUNT=100 bundle exec rake test
23- check_config_sample: |
24    curl -LO https://github.com/dhall-lang/dhall-haskell/releases/download/1.39.0/dhall-1.39.0-x86_64-linux.tar.bz2
25    tar -xf dhall-*.tar.bz2
26    echo "./sgx-jmp/config.dhall.sample : ./sgx-jmp/config-schema.dhall" | bin/dhall --plain