Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions .github/workflows/timescaledb.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: timescaledb
"on":
pull_request:
push:
branches:
- main
jobs:
timescaledb:
runs-on: ubuntu-latest
env:
CC: clang-19
CXX: clang++-19
LLVM_CONFIG: llvm-config-19

steps:

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get purge llvm-16 llvm-18 clang-16 clang-18
sudo apt-get install llvm-19 llvm-19-dev clang-19 libclang-19-dev clang-tidy-19 libcurl4-openssl-dev postgresql-server-dev-16
sudo ln -sf /usr/bin/clang-tidy-19 /usr/bin/clang-tidy

- name: Checkout pg_ladybug
uses: actions/checkout@v4

- name: Checkout timescaledb
uses: actions/checkout@v4
with:
repository: 'timescale/timescaledb'
path: 'timescaledb'

- name: build pg_ladybug
run: |
cmake -S . -B build
make -C build
sudo make -C build install

- name: Verify pg_ladybug
run: |
clang-tidy --load /usr/local/lib/libPostgresCheck.so --checks='-*,postgres-*' --list-checks | grep postgres

- name: Configure timescaledb
run: |
cd timescaledb
./bootstrap -DCMAKE_BUILD_TYPE=Debug -DLINTER=ON -DCLANG_TIDY_EXTRA_OPTS=",-*,postgres-*;--load=/usr/local/lib/libPostgresCheck.so"

- name: Build timescaledb
run: |
make -C timescaledb/build

Loading