Skip to content

Commit

Permalink
Test PG15 on linux 32bit and windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
sb230132 committed Nov 18, 2022
1 parent b9ca06d commit f6b05ea
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/ci_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@
PG14_LATEST = "14.6"
PG14_ABI_MIN = "14.0"

PG_LATEST = [PG12_LATEST, PG13_LATEST, PG14_LATEST]
PG15_LATEST = "15.0"

PG_LATEST = [PG12_LATEST, PG13_LATEST, PG14_LATEST, PG15_LATEST]
3 changes: 3 additions & 0 deletions .github/workflows/linux-32bit-build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:
env:
DEBIAN_FRONTEND: noninteractive
IGNORES: append-* debug_notice transparent_decompression-* transparent_decompress_chunk-* plan_skip_scan-12 pg_dump
if [[ "${{ matrix.pg }}" == "15" ]]; then
IGNORES: append-* debug_notice transparent_decompression-* transparent_decompress_chunk-* plan_skip_scan-12 pg_dump remote_txn telemetry_stats dist_partial_agg dist_query partialize_finalize dist_fetcher_type plan_hashagg
fi
strategy:
fail-fast: false
matrix:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/windows-build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
pg12_latest: ${{ steps.config.outputs.pg12_latest }}
pg13_latest: ${{ steps.config.outputs.pg13_latest }}
pg14_latest: ${{ steps.config.outputs.pg14_latest }}
pg15_latest: ${{ steps.config.outputs.pg15_latest }}

steps:
- name: Checkout source code
Expand All @@ -40,7 +41,7 @@ jobs:
strategy:
fail-fast: false
matrix:
pg: [ 12, 13, 14 ]
pg: [ 12, 13, 14, 15 ]
os: [ windows-2022 ]
build_type: ${{ fromJson(needs.config.outputs.build_type) }}
ignores: ["chunk_adaptive metadata"]
Expand All @@ -55,6 +56,8 @@ jobs:
tsl_skips_version: dist_grant-13
- pg: 14
pkg_version: ${{ fromJson(needs.config.outputs.pg14_latest) }}.1
- pg: 15
pkg_version: ${{ fromJson(needs.config.outputs.pg15_latest) }}.1
env:
# PostgreSQL configuration
PGPORT: 55432
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -343,9 +343,9 @@ set(PG_VERSION "${PG_VERSION_MAJOR}.${PG_VERSION_MINOR}")
# Ensure that PostgreSQL version is supported and consistent with src/compat.h
# version check
if((${PG_VERSION_MAJOR} LESS "12")
OR (${PG_VERSION_MAJOR} GREATER "14")
OR (${PG_VERSION_MAJOR} GREATER "15")
AND NOT (${EXPERIMENTAL}))
message(FATAL_ERROR "TimescaleDB only supports PostgreSQL 12, 13 and 14")
message(FATAL_ERROR "TimescaleDB only supports PostgreSQL 12, 13, 14 and 15")
else()
message(STATUS "Compiling against PostgreSQL version ${PG_VERSION}")
endif()
Expand Down

0 comments on commit f6b05ea

Please sign in to comment.