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