-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5f99c5d
commit 824278e
Showing
4 changed files
with
38 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,14 +12,17 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
builder: | ||
- autoconf | ||
- meson | ||
branch: | ||
- REL_12 | ||
- REL_13 | ||
- REL_14 | ||
- REL_15 | ||
- REL_16 | ||
- HEAD | ||
name: ${{ matrix.branch }} | ||
name: ${{ matrix.branch }} (${{ matrix.builder }}) | ||
steps: | ||
- uses: actions/[email protected] | ||
- name: Set up Docker Buildx | ||
|
@@ -36,7 +39,7 @@ jobs: | |
- uses: actions/[email protected] | ||
with: | ||
path: buildroot | ||
key: run-alpine-autoconf-${{ matrix.branch }} | ||
key: run-alpine-${{ matrix.builder }}-${{ matrix.branch }} | ||
- name: Run buildfarm client | ||
run: | | ||
mkdir -p buildroot | ||
|
@@ -45,7 +48,7 @@ jobs: | |
-u "$(id -u):$(id -g)" \ | ||
buildfarm-client:alpine \ | ||
--test \ | ||
--config autoconf.conf \ | ||
--config ${{ matrix.builder }}.conf \ | ||
--delay-check \ | ||
${{ matrix.branch }} | ||
# TODO: Remove --delay-check once this is fixed: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,13 @@ on: | |
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
name: Test autoconf | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
builder: | ||
- autoconf | ||
- meson | ||
name: Test ${{ matrix.builder }} | ||
steps: | ||
- uses: actions/[email protected] | ||
- name: Set up Docker Buildx | ||
|
@@ -26,16 +32,16 @@ jobs: | |
- uses: actions/[email protected] | ||
with: | ||
path: buildroot | ||
key: test-alpine-autoconf | ||
- name: Test autoconf.conf | ||
key: test-alpine-${{ matrix.builder }} | ||
- name: Test ${{ matrix.builder }}.conf | ||
run: | | ||
mkdir -p buildroot | ||
docker run --rm \ | ||
-v ./buildroot:/home/alpine \ | ||
-u "$(id -u):$(id -g)" \ | ||
buildfarm-client:alpine \ | ||
--test \ | ||
--config autoconf.conf \ | ||
--config ${{ matrix.builder }}.conf \ | ||
--delay-check | ||
# TODO: Remove --delay-check once this is fixed: | ||
# https://www.postgresql.org/message-id/flat/fddd1cd6-dc16-40a2-9eb5-d7fef2101488%40technowledgy.de |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
require 'shared.conf'; | ||
|
||
@PGBuild::conf{animal} = $ENV{MESON_ANIMAL} // @PGBuild::conf{animal}; | ||
@PGBuild::conf{secret} = $ENV{MESON_SECRET} // @PGBuild::conf{secret}; | ||
|
||
@PGBuild::conf{using_meson} = true; | ||
@PGBuild::conf{meson_jobs} = 2; | ||
|
||
push(@{@PGBuild::conf{meson_opts}}, ('-Dlz4=enabled', '-Dzstd=enabled')); | ||
|
||
# TODO: Building with --enable-nls currently fails with: | ||
# ld: ../../src/port/libpgport.a(strerror.o): in function `pg_strerror_r': | ||
# src/port/strerror.c:72:(.text+0x260): undefined reference to `libintl_gettext' | ||
# ld: src/port/strerror.c:72:(.text+0x2d8): undefined reference to `libintl_gettext' | ||
push(@{@PGBuild::conf{meson_opts}}, '-Dnls=disabled'); | ||
|
||
1; |