Merge pull request #70 from Giperboloid/update_rmgr_id #52
This file contains hidden or 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 is a basic workflow to help you get started with Actions | |
| name: CI | |
| # Controls when the workflow will run | |
| on: | |
| # Triggers the workflow on push or pull request events but only for the master branch | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| # Allows you to run this workflow manually from the Actions tab | |
| workflow_dispatch: | |
| # A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| shell: bash | |
| strategy: | |
| matrix: | |
| pgversion: | |
| - 13 | |
| - 14 | |
| - 15 | |
| - 16 | |
| - 17 | |
| - 18 | |
| env: | |
| PGVERSION: ${{ matrix.pgversion }} | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v4 | |
| - name: Install GSSAPI development headers | |
| run: | | |
| sudo apt-get -y update | |
| sudo apt-get -y install libkrb5-dev | |
| - name: install pg | |
| run: | | |
| sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -v $PGVERSION -p -i | |
| sudo -u postgres createuser -s "$USER" | |
| - name: build | |
| run: | | |
| make PROFILE="-Werror" | |
| sudo -E make install | |
| - name: test | |
| run: | | |
| sudo pg_conftool $PGVERSION main set shared_preload_libraries credcheck | |
| sudo service postgresql restart | |
| make installcheck | |
| - name: show regression diffs | |
| if: ${{ failure() }} | |
| run: | | |
| cat regression.diffs |