diff --git a/setup/macos-all.bash b/setup/macos-all.bash index 4c975c5..63a97fd 100644 --- a/setup/macos-all.bash +++ b/setup/macos-all.bash @@ -1,4 +1,4 @@ #!/bin/bash -brew install libmagic +brew install libmagic lz4 etcd diff --git a/setup/ubuntu-24.04.bash b/setup/ubuntu-24.04.bash index 0adfce6..ef4418e 100644 --- a/setup/ubuntu-24.04.bash +++ b/setup/ubuntu-24.04.bash @@ -1,6 +1,6 @@ #!/bin/bash sudo apt-get update && \ - sudo apt-get install -y libmagic-dev && \ + sudo apt-get install -y libmagic-dev etcd-server && \ sudo apt-get clean && sudo rm -rf /var/lib/apt/lists/* diff --git a/test/lavinmq.bats b/test/lavinmq.bats new file mode 100644 index 0000000..4157193 --- /dev/null +++ b/test/lavinmq.bats @@ -0,0 +1,26 @@ +#!/usr/bin/env bats + +function setup_file() { + load helper/common.bash + + git_checkout https://github.com/cloudamqp/lavinmq +} + +function setup() { + load helper/common.bash +} + +@test "build lavinmq" { + skiponwindows "not supported" + make all CRYSTAL_FLAGS= +} + +@test "test lavinmq" { + skiponwindows "not supported" + make test +} + +# bats test_tags=format +@test "format lavinmq" { + crystal_format +}