commit 8f000c9d285bf6e6880991a0eefe0c5db5084cbb from: Thomas Adam date: Mon Jul 11 19:58:41 2022 UTC portable: ci: add ubuntu Add Ubuntu as a dedicated CI environment. By default, sh is aliase to dash which often provides interesting challenges for portability, so making this work here is a good thing as mistakes will be spotted earlier. commit - e8da6c412759282e41c232887b3c9e4bdb3362e3 commit + 8f000c9d285bf6e6880991a0eefe0c5db5084cbb blob - 07900d6017a28747f9497498b124791fc69d11d5 blob + 4d0d9236b62b8e5b3031360091dced34f72e0b5d --- .cirrus.yml +++ .cirrus.yml @@ -4,6 +4,13 @@ got_linux_task: before_build_script: .github/ci/before-install.sh build:script: .github/ci/build.sh +got_ubuntu_task: + container: + image: ubuntu:latest + before_build_script: .github/ci/before-install.sh + build:script: .github/ci/build.sh + test_script: make install && make tests + got_alpine_linux_task: container: image: alpine:latest blob - 2f12ebacc54b8a94b844bae365be9c22d08bad72 blob + 7bec1390cbccb7f491f4414f5d96b8c0e7b00229 --- .github/ci/before-install.sh +++ .github/ci/before-install.sh @@ -2,7 +2,7 @@ if [ "$CIRRUS_OS" = "linux" ]; then apt-get update -qq && \ - apt-get -y install bison \ + apt-get -y install bison autoconf \ autotools-dev \ libncurses5-dev \ pkg-config \ @@ -11,7 +11,10 @@ if [ "$CIRRUS_OS" = "linux" ]; then libssl-dev \ libbsd-dev \ uuid-dev \ - zlib1g-dev + zlib1g-dev \ + git \ + athena-jot \ + ed fi if [ "$CIRRUS_OS" = "freebsd" ]; then