File tree Expand file tree Collapse file tree 1 file changed +59
-0
lines changed Expand file tree Collapse file tree 1 file changed +59
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI Meson
2+
3+ on : push
4+
5+ jobs :
6+ build :
7+ name : Build and Test on ${{ matrix.os }} with Meson and build type ${{ matrix.build_type }}
8+ runs-on : ${{ matrix.os }}
9+ strategy :
10+ matrix :
11+ os :
12+ - ubuntu-latest
13+ - linux-arm64
14+ build_type :
15+ - release
16+ - debugoptimized
17+ steps :
18+ - name : Checkout code
19+ uses : actions/checkout@v4
20+ - name : Update install packages
21+ run : |
22+ sudo env DEBIAN_FRONTEND=noninteractive apt update
23+ sudo env DEBIAN_FRONTEND=noninteractive apt full-upgrade -y
24+ - name : Install packages
25+ run : >
26+ sudo env DEBIAN_FRONTEND=noninteractive apt install -y
27+ bison
28+ build-essential
29+ ccache
30+ flex
31+ libicu-dev
32+ libreadline-dev
33+ libssl-dev
34+ libxml2-dev
35+ libxml2-utils
36+ libxslt-dev
37+ libzstd-dev
38+ pkg-config
39+ xsltproc
40+ zlib1g-dev
41+ - name : Set up Python
42+ uses : actions/setup-python@v5
43+ with :
44+ python-version : ' >= 3.7'
45+ - name : Install dependencies
46+ run : python -m pip install meson ninja
47+ - name : Configure Project
48+ run : meson setup build/ --prefix $PWD/installdir
49+ - name : Compile
50+ run : meson compile -C build/
51+ - name : Run Tests
52+ run : meson test -C build/ -v
53+ - name : Install
54+ run : meson install -C build/
55+ - name : Upload Install
56+ uses : actions/upload-artifact@v4
57+ with :
58+ name : postgres-${{ matrix.os }}-${{ matrix.build_type }}
59+ path : installdir/**
You can’t perform that action at this time.
0 commit comments