-
Notifications
You must be signed in to change notification settings - Fork 5
35 lines (32 loc) · 1.14 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: CI
on:
push:
branches: [master, ci]
tags: ["*"]
pull_request:
branches: ["*"]
jobs:
build:
name: Build
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- run: sudo apt-get install -y libdrm-dev libxkbcommon-dev libudev-dev libwayland-dev libegl-dev libgles-dev libinput-dev libseat-dev seatd patchelf
- uses: BSFishy/meson-build@v1.0.3
with:
meson-version: 0.63.3
action: install
setup-options: -Dwlroots:examples=false -Dwlroots:renderers=gles2 -Dwlroots:xcb-errors=disabled -Dflutter_wlroots:examples=true
options: --destdir install
# TODO: Remove this
- run: patchelf --add-rpath ./ build/install/usr/local/lib/x86_64-linux-gnu/libflutter_wlroots.so
- uses: actions/upload-artifact@v3
with:
name: full_build
path: build
- uses: actions/upload-artifact@v3
with:
name: install
path: build/install
#meson build --reconfigure -Dwlroots:examples=false -Dwlroots:renderers=gles2 -Dwlroots:xcb-errors=disabled -Dflutter_wlroots:examples=true