mirror of
https://github.com/lbonn/rofi
synced 2024-11-13 23:57:10 +00:00
[CI] Better test xcb and wayland-only builds
This commit is contained in:
parent
b8dedc8836
commit
9d11a2b4a9
2 changed files with 34 additions and 12 deletions
42
.github/actions/setup/action.yml
vendored
42
.github/actions/setup/action.yml
vendored
|
@ -1,6 +1,14 @@
|
|||
name: CI Build Setup
|
||||
description: Sets up build dependencies
|
||||
|
||||
inputs:
|
||||
xcb:
|
||||
description: Install xcb dependencies
|
||||
default: 'true'
|
||||
wayland:
|
||||
description: Install wayland dependencies
|
||||
default: 'true'
|
||||
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
|
@ -21,17 +29,6 @@ runs:
|
|||
jq \
|
||||
lcov \
|
||||
libpango1.0-dev \
|
||||
libstartup-notification0-dev \
|
||||
libwayland-dev \
|
||||
libxcb-ewmh-dev \
|
||||
libxcb-icccm4-dev \
|
||||
libxcb-randr0-dev \
|
||||
libxcb-util0-dev \
|
||||
libxcb-xinerama0-dev \
|
||||
libxcb-xkb-dev \
|
||||
libxcb-xrm-dev \
|
||||
libxcb-cursor-dev \
|
||||
libxcb-imdkit-dev \
|
||||
libxkbcommon-dev \
|
||||
libxkbcommon-dev \
|
||||
libxkbcommon-x11-dev \
|
||||
|
@ -41,12 +38,33 @@ runs:
|
|||
python3-wheel \
|
||||
texi2html \
|
||||
texinfo \
|
||||
wayland-protocols \
|
||||
xdotool \
|
||||
xfonts-base \
|
||||
xterm \
|
||||
xutils-dev
|
||||
shell: bash
|
||||
- id: apt-wayland
|
||||
if: ${{ inputs.wayland == 'true' }}
|
||||
run: |
|
||||
sudo apt-get install -y \
|
||||
libwayland-dev \
|
||||
wayland-protocols
|
||||
shell: bash
|
||||
- id: apt-xcb
|
||||
if: ${{ inputs.xcb == 'true' }}
|
||||
run: |
|
||||
sudo apt-get install -y \
|
||||
libstartup-notification0-dev \
|
||||
libxcb-ewmh-dev \
|
||||
libxcb-icccm4-dev \
|
||||
libxcb-randr0-dev \
|
||||
libxcb-util0-dev \
|
||||
libxcb-xinerama0-dev \
|
||||
libxcb-xkb-dev \
|
||||
libxcb-xrm-dev \
|
||||
libxcb-cursor-dev \
|
||||
libxcb-imdkit-dev
|
||||
shell: bash
|
||||
- id: check
|
||||
run: |
|
||||
curl -L https://github.com/libcheck/check/releases/download/0.14.0/check-0.14.0.tar.gz | tar xzf -
|
||||
|
|
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
@ -42,6 +42,8 @@ jobs:
|
|||
with:
|
||||
submodules: recursive
|
||||
- uses: ./.github/actions/setup
|
||||
with:
|
||||
xcb: false
|
||||
- uses: ./.github/actions/meson
|
||||
with:
|
||||
cc: gcc
|
||||
|
@ -53,6 +55,8 @@ jobs:
|
|||
with:
|
||||
submodules: recursive
|
||||
- uses: ./.github/actions/setup
|
||||
with:
|
||||
wayland: false
|
||||
- uses: ./.github/actions/meson
|
||||
with:
|
||||
cc: gcc
|
||||
|
|
Loading…
Reference in a new issue