Updated CI runners

pull/209/head
Zsolt Parragi 1 year ago
parent 6cbd7c879a
commit a9b623fccb
  1. 2
      .github/workflows/postgresql-16-pgdg-package-pgxs.yml
  2. 2
      .github/workflows/postgresql-16-src-make-macos.yml
  3. 2
      .github/workflows/postgresql-16-src-make-ssl11.yml
  4. 2
      .github/workflows/postgresql-16-src-make.yml
  5. 4
      Makefile.in
  6. 2
      docker/Dockerfile

@ -56,7 +56,7 @@ jobs:
run: | run: |
sudo -u postgres bash -c './configure' sudo -u postgres bash -c './configure'
sudo -u postgres bash -c 'make USE_PGXS=1' sudo -u postgres bash -c 'make USE_PGXS=1'
sudo make USE_PGXS=1 install sudo make USE_PGXS=1 MAJORVERSION=16 install
working-directory: src/pg_tde working-directory: src/pg_tde
- name: Start pg_tde tests - name: Start pg_tde tests

@ -39,7 +39,7 @@ jobs:
- name: Build pg_tde - name: Build pg_tde
run: | run: |
./configure ./configure
make -j make -j MAJORVERSION=16
sudo make install sudo make install
working-directory: src/contrib/pg_tde working-directory: src/contrib/pg_tde

@ -58,7 +58,7 @@ jobs:
- name: Build pg_tde - name: Build pg_tde
run: | run: |
./configure ./configure
make -j make -j MAJORVERSION=16
sudo make install sudo make install
working-directory: src/contrib/pg_tde working-directory: src/contrib/pg_tde

@ -58,7 +58,7 @@ jobs:
- name: Build pg_tde - name: Build pg_tde
run: | run: |
./configure ./configure
make -j make -j MAJORVERSION=16
sudo make install sudo make install
working-directory: src/contrib/pg_tde working-directory: src/contrib/pg_tde

@ -57,12 +57,12 @@ override PG_CPPFLAGS += @tde_CPPFLAGS@
ifdef USE_PGXS ifdef USE_PGXS
PG_CONFIG = pg_config PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs) PGXS := $(shell $(PG_CONFIG) --pgxs)
override PG_CPPFLAGS += -I$(CURDIR)/src/include override PG_CPPFLAGS += -I$(CURDIR)/src/include -I$(CURDIR)/src$(MAJORVERSION)/include
include $(PGXS) include $(PGXS)
else else
subdir = contrib/pg_tde subdir = contrib/pg_tde
top_builddir = ../.. top_builddir = ../..
override PG_CPPFLAGS += -I$(top_srcdir)/$(subdir)/src/include override PG_CPPFLAGS += -I$(top_srcdir)/$(subdir)/src/include -I$(top_srcdir)/$(subdir)/src$(MAJORVERSION)/include
include $(top_builddir)/src/Makefile.global include $(top_builddir)/src/Makefile.global
include $(top_srcdir)/contrib/contrib-global.mk include $(top_srcdir)/contrib/contrib-global.mk
endif endif

@ -14,7 +14,7 @@ WORKDIR /opt/pg_tde
COPY . . COPY . .
RUN ./configure && \ RUN ./configure && \
make USE_PGXS=1 && \ make USE_PGXS=1 MAJORVERSION=16 && \
make USE_PGXS=1 install make USE_PGXS=1 install
RUN cp /usr/share/postgresql/postgresql.conf.sample /etc/postgresql/postgresql.conf; \ RUN cp /usr/share/postgresql/postgresql.conf.sample /etc/postgresql/postgresql.conf; \
echo "shared_preload_libraries = 'pg_tde'" >> /etc/postgresql/postgresql.conf; \ echo "shared_preload_libraries = 'pg_tde'" >> /etc/postgresql/postgresql.conf; \

Loading…
Cancel
Save