Commits


portable: ci: add bison for macos


Revert "portable: ci: add libtls/libressl" Remove libtls/libressl as TLS isn't going to be supported in gotweb any time soon. This reverts commit 5ae325ebc8cde2d9c3810d385f9111597345d597.


Revert "portable: ci: macos: add libressl" Remove dependency on libretls as TLS isn't going to be included in gotwebd any time soon. This reverts commit af7f5027866eea7b4299c2319f83d0eb18a395e6.


portable: ci: macos: add libressl


portable: ci: add libtls/libressl Needed for TLS in gotwebd.


portable: mention libevent dependency This is now required to run gotwebd.


portable: regress: add test stage to all runs Whenever a CI change is made, also run the test suites. This is enabled for just Ubuntu and FreeBSD for now.


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.


portable: CI (linux): add libbsd-dev This needs to be explicitly installed.


portable: improve macos compat with bison/openssl Some MacOS systems might not have GNU Bison installed, or have openssl installed. In such instances the host versions of those can be used, with a few tweaks around the edges to make them work. This commit addresses these by: * Relaxing a HAVE_CRYPTO check for __APPLE__, since the inclusion of the machine-specific headers isn't dependent on openssl being installed; * If the non-GNU version of bison on MacOS is being used, define any missing YY* variables, and add a compiler #warning so we log something. This also updates the CI scripts to default to the system versions of bison and removes openssl as a core dependency -- it's more likely openssl is going to be installed, so removing it here will mean we can catch the case for just the MacOS-specific failures, and the inclusion of openssl on other OSes should cover the rest. Noticed by Evan Silberman


portable: CI: add MacOS definition Enable CI builds for MaxcOS on CirrusCI.


Cirrus-CI: add build YAML file Cirrus-CI allows for FreeBSD builds as well as Linux.