diff --git a/.cirrus.yml b/.cirrus.yml new file mode 100644 index 000000000..4278deee6 --- /dev/null +++ b/.cirrus.yml @@ -0,0 +1,11 @@ +freebsd_instance: + image: freebsd-12-1-release-amd64 + +task: + name: freebsd-12 + stateful: false + setup_script: + - pkg install -y bash + - bash get-deps + test_script: + - cargo test --all --release diff --git a/get-deps b/get-deps index 9bd3a3303..c61fc0366 100755 --- a/get-deps +++ b/get-deps @@ -77,6 +77,34 @@ case $OSTYPE in darwin*|msys) exit 0 ;; + freebsd*) + pkg install -y \ + cmake \ + curl \ + dbus \ + egl-wayland \ + expat \ + fontconfig \ + gcc \ + gettext \ + git \ + gmake \ + libxcb \ + libxkbcommon \ + mesa-devel \ + openssl \ + p5-ExtUtils-MakeMaker \ + perl5 \ + pkgconf \ + python3 \ + rust \ + wayland \ + xcb-util-keysyms \ + xcb-util-wm \ + z \ + zip + exit $? + ;; *) echo "Please contribute the commands to install the deps" echo "For `lsb_release -ds`"