diff --git a/.builds/ubuntu-lts.yml b/.builds/ubuntu-lts.yml new file mode 100644 index 0000000000000000000000000000000000000000..33f5163e496f724d6e2adf531174edb356d0382c --- /dev/null +++ b/.builds/ubuntu-lts.yml @@ -0,0 +1,26 @@ +image: ubuntu/lts +sources: +- https://git.sr.ht/~singpolyma/sgx-jmp +packages: +- ruby +- ruby-dev +- bundler +- libxml2-dev +- libpq-dev +- rubocop +environment: + LANG: C.UTF-8 +tasks: +- dependencies: | + cd sgx-jmp + bundle install --without=development --path=.gems +- lint: | + cd sgx-jmp + rubocop +- test: | + cd sgx-jmp + RANTLY_COUNT=100 bundle exec rake test +- check_config_sample: | + curl -LO https://github.com/dhall-lang/dhall-haskell/releases/download/1.39.0/dhall-1.39.0-x86_64-linux.tar.bz2 + tar -xf dhall-*.tar.bz2 + echo "./sgx-jmp/config.dhall.sample : ./sgx-jmp/config-schema.dhall" | bin/dhall --plain