Skip to content
Zsolt Parragi edited this page Feb 11, 2025 · 1 revision

Building and testing

This repository is the fork of the official postgres repository with some additions. Build and test instructions are the same.

However, this repository has some additional dependencies:

  • libKMIP, which is included as a git submodule. Use git clone --recursive for checkout, or execute git submodule --update --init after cloning and selecting the brach
  • libcurl, which has to be installed on the system

Some tests require a running HashiCorp Vault (or compatible) server, and a KMIP server, such as the server included in the PyKMIP library. The settings for the servers are configured with environment variables.

Simplified build and test scripts

The ci_scripts folder contains several bash scripts intended for building and testing the server.

These scripts include:

  • ubuntu-deps.sh which installs required packages on Ubuntu 22.04
  • make-build.sh and meson-build.sh which build everything either with make or meson
  • setup-keyring-servers.sh which starts up a development Vault server instance and a PyKMIP dummy server
  • make-test.sh and meson-test.sh which execute the world regression suite
  • make-test-tde.sh which executes the entire world suite with the encryption turned on
Clone this wiki locally