File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed
Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build Backend
2+
3+ on :
4+ pull_request :
5+ push :
6+ branches : [ "master" ]
7+ workflow_dispatch :
8+
9+ jobs :
10+ build :
11+ strategy :
12+ matrix :
13+ os :
14+ - ubuntu-22.04
15+ - ubuntu-24.04
16+ - ubuntu-24.04-arm
17+
18+ runs-on : ${{ matrix.os }}
19+
20+ steps :
21+ - uses : actions/checkout@v4
22+
23+ - name : Install dependencies
24+ run : |
25+ sudo apt update
26+ sudo apt install build-essential git pkg-config meson libglib2.0-dev \
27+ libjsoncpp-dev uuid-dev liblz4-dev libcap-ng-dev \
28+ libxml2-utils python3-minimal python3-dbus \
29+ python3-docutils python3-jinja2 libxml2-utils \
30+ libtinyxml2-dev policykit-1 libsystemd-dev \
31+ python3-systemd libssl-dev libgdbuspp-dev \
32+ libdbus-1-dev
33+
34+ - name : Build
35+ run : |
36+ ./bootstrap.sh
37+ meson setup --prefix=/usr _builddir
38+ meson compile -C _builddir
39+ DESTDIR=$PWD/pkgroot meson install -C _builddir
40+
41+ - name : Upload artifact
42+ uses : actions/upload-artifact@v4
43+ with :
44+ name : backend-build-${{ matrix.os }}
45+ path : pkgroot
You can’t perform that action at this time.
0 commit comments