Skip to content

Commit 710c26c

Browse files
committed
Switch to meson build
1 parent c480af2 commit 710c26c

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/make.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,23 @@ jobs:
1717
- name: Checkout code
1818
uses: actions/checkout@v4
1919
- name: dependencies
20-
run: sudo apt install -y build-essential libreadline-dev zlib1g-dev flex bison libxml2-dev libxslt-dev libssl-dev libxml2-utils xsltproc ccache pkg-config libzstd-dev
20+
run: sudo env DEBIAN_FRONTEND=noninteractive apt install -y build-essential libreadline-dev zlib1g-dev flex bison libxml2-dev libxslt-dev libssl-dev libxml2-utils xsltproc ccache pkg-config libzstd-dev
2121
- name: Set up Python
2222
uses: actions/setup-python@v5
2323
with:
2424
python-version: '>= 3.7'
2525
- name: Install dependencies
2626
run: python -m pip install meson ninja
2727
- name: Configure Project
28-
run: meson setup build/
28+
run: meson setup build/ --prefix $PWD/installdir
2929
- name: Compile
3030
run: meson compile -C build/
3131
- name: Run Tests
3232
run: meson test -C build/ -v
33-
- name: Upload Test Log
33+
- name: Install
34+
run: meson install -C build/
35+
- name: Upload Install
3436
uses: actions/upload-artifact@v4
35-
if: failure()
3637
with:
37-
name: ${{ matrix.os }}_${{ matrix.build_type }}_Meson_Testlog
38-
path: builddir/meson-logs/testlog.txt
38+
name: postgres-${{ matrix.os }}-${{ matrix.build_type }}.zip
39+
path: installdir/**

0 commit comments

Comments
 (0)