Skip to content

Commit

Permalink
Fix up CI action
Browse files Browse the repository at this point in the history
  • Loading branch information
flacjacket committed Aug 4, 2024
1 parent b27638a commit 46edec9
Showing 1 changed file with 21 additions and 4 deletions.
25 changes: 21 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
sudo apt update
sudo apt-get install -y --no-install-recommends \
hwdata \
libdisplay-info-dev \
libdrm-dev \
libegl1-mesa-dev \
libepoxy-dev \
Expand All @@ -31,6 +32,7 @@ jobs:
libinput-dev \
libpciaccess-dev \
libpixman-1-dev \
libseat-dev \
libtirpc-dev \
libxcb-composite0-dev \
libxcb-dri3-dev \
Expand All @@ -39,6 +41,7 @@ jobs:
libxcb-image0-dev \
libxcb-present-dev \
libxcb-render0-dev \
libxcb-render-util0-dev \
libxcb-res0-dev \
libxcb-xfixes0-dev \
libxcb-xinput-dev \
Expand Down Expand Up @@ -88,7 +91,7 @@ jobs:
working-directory: wlroots-${{ matrix.wlroots-version }}
continue-on-error: ${{ matrix.wlroots-version == 'master' }}
run: |
meson build --prefix=/usr -Dxwayland=enabled
meson build --prefix=/usr -Dxwayland=enabled -Dbackends=drm,x11,libinput
ninja -C build
DESTDIR=~/wayland ninja -C build install
- name: Create artifact
Expand Down Expand Up @@ -136,30 +139,44 @@ jobs:
run: |
sudo apt update
sudo apt-get install -y --no-install-recommends \
hwdata \
libdisplay-info-dev \
libdrm-dev \
libegl1-mesa-dev \
libepoxy-dev \
libgbm-dev \
libgles2-mesa-dev \
libinput-dev \
libpciaccess-dev \
libpixman-1-dev \
libseat-dev \
libtirpc-dev \
libxcb-composite0-dev \
libxcb-ewmh-dev \
libxcb-dri3-dev \
libxcb-ewmh-dev \
libxcb-icccm4-dev \
libxcb-image0-dev \
libxcb-present-dev \
libxcb-render0-dev \
libxcb-render-util0-dev \
libxcb-res0-dev \
libxcb-xfixes0-dev \
libxcb-xinput-dev \
libxcb1-dev \
libxkbcommon-dev
libxfont-dev \
libxkbcommon-dev \
libxshmfence-dev \
meson \
seatd \
xfonts-utils \
xserver-xorg-dev \
xwayland
- name: Set environment variables
run: |
echo "XDG_RUNTIME_DIR=/tmp" >> $GITHUB_ENV
- name: Install Python dependencies
continue-on-error: ${{ matrix.wlroots-version == 'master' }}
run: |
pip install "xkbcommon<1.5"
pip install -e .[test]
- name: Run unit tests
continue-on-error: ${{ matrix.wlroots-version == 'master' }}
Expand Down

0 comments on commit 46edec9

Please sign in to comment.