Update README.md #2
Workflow file for this run
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
name: Test | |
on: [push] | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup node | |
run: sudo apt-get -y install build-essential libreadline-dev zlib1g-dev flex bison libxml2-dev libxslt-dev libssl-dev libxml2-utils xsltproc ccache pkg-config libipc-run-perl | |
- name: Get PostgreSQL Sources | |
uses: actions/checkout@v4 | |
with: | |
repository: HUUTFJ/postgres | |
- name: Configure PostgreSQL | |
run: ./configure --enable-cassert --enable-debug --enable-tap-tests | |
- name: Build PostgreSQL | |
run: make -j4 | |
# TODO: cache the build output | |
# XXX: Should we change the job here? | |
- name: Get pg_follower Sources | |
uses: actions/checkout@v4 | |
with: | |
repository: HUUTFJ/pg_follower | |
path: contrib/pg_follower | |
- name: Build pg_follower | |
run: | | |
cd contrib/pg_follower | |
make -j4 | |
- name: Ttest pg_follower | |
run: | | |
cd contrib/pg_follower | |
make check |