mirror of
https://github.com/labwc/labwc.git
synced 2026-03-21 05:33:52 -04:00
Add CI
This commit is contained in:
parent
d11643bea5
commit
0e41413dc8
1 changed files with 22 additions and 0 deletions
22
.github/workflows/main.yml
vendored
Normal file
22
.github/workflows/main.yml
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
name: CI
|
||||||
|
on: [push, pull_request]
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container: archlinux:base-devel
|
||||||
|
steps:
|
||||||
|
- name: install dependencies
|
||||||
|
run: |
|
||||||
|
pacman-key --init
|
||||||
|
pacman -Syu --noconfirm
|
||||||
|
pacman -S --noconfirm git meson clang wlroots libdrm libinput \
|
||||||
|
wayland-protocols cairo pango libxml2 xorg-xwayland
|
||||||
|
- name: build with gcc
|
||||||
|
run: |
|
||||||
|
meson build-gcc/ --werror
|
||||||
|
ninja -C build-gcc/
|
||||||
|
- name: build with clang
|
||||||
|
run: |
|
||||||
|
meson build-clang/ --werror
|
||||||
|
ninja -C build-clang/
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue