mirror of
https://github.com/cage-kiosk/cage.git
synced 2025-10-29 05:40:19 -04:00
Compare commits
2 commits
63f186632e
...
c311ee5cdc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c311ee5cdc | ||
|
|
e8eec54129 |
1 changed files with 7 additions and 7 deletions
14
.github/workflows/main.yml
vendored
14
.github/workflows/main.yml
vendored
|
|
@ -26,20 +26,20 @@ jobs:
|
||||||
|
|
||||||
- name: Install dependencies (Alpine)
|
- name: Install dependencies (Alpine)
|
||||||
if: "matrix.OS == 'alpine:edge'"
|
if: "matrix.OS == 'alpine:edge'"
|
||||||
run: apk add build-base xcb-util-wm-dev libseat-dev clang git eudev-dev mesa-dev libdrm-dev libinput-dev libxkbcommon-dev pixman-dev wayland-dev meson wayland-protocols xwayland-dev scdoc-doc hwdata
|
run: apk add build-base xcb-util-wm-dev libseat-dev clang git eudev-dev mesa-dev libdrm-dev libinput-dev libxkbcommon-dev pixman-dev wayland-dev meson wayland-protocols xwayland-dev scdoc-doc hwdata libdisplay-info-dev
|
||||||
|
|
||||||
- name: Install dependencies (Arch)
|
- name: Install dependencies (Arch)
|
||||||
if: "matrix.OS == 'archlinux:base-devel'"
|
if: "matrix.OS == 'archlinux:base-devel'"
|
||||||
run: |
|
run: |
|
||||||
pacman-key --init
|
pacman-key --init
|
||||||
pacman -Syu --noconfirm xcb-util-wm seatd git clang meson libinput libdrm mesa libxkbcommon wayland wayland-protocols xorg-server-xwayland scdoc
|
pacman -Syu --noconfirm xcb-util-wm seatd git clang meson libinput libdrm mesa libxkbcommon wayland wayland-protocols xorg-server-xwayland scdoc libdisplay-info
|
||||||
|
|
||||||
- name: Fetch wlroots as a subproject
|
- name: Fetch wlroots as a subproject
|
||||||
run: git clone https://gitlab.freedesktop.org/wlroots/wlroots.git subprojects/wlroots -b $WLROOTS_VERSION
|
run: git clone https://gitlab.freedesktop.org/wlroots/wlroots.git subprojects/wlroots -b $WLROOTS_VERSION
|
||||||
|
|
||||||
- name: Compile Cage (XWayland=${{ matrix.xwayland }})
|
- name: Compile Cage (XWayland=${{ matrix.xwayland }})
|
||||||
run: |
|
run: |
|
||||||
meson --fatal-meson-warnings \
|
meson --fatal-meson-warnings --wrap-mode=nodownload \
|
||||||
build-${{ matrix.CC }}-${{matrix.xwayland }} \
|
build-${{ matrix.CC }}-${{matrix.xwayland }} \
|
||||||
-Dwlroots:xwayland=${{ matrix.xwayland }}
|
-Dwlroots:xwayland=${{ matrix.xwayland }}
|
||||||
ninja -C build-${{ matrix.CC }}-${{matrix.xwayland }}
|
ninja -C build-${{ matrix.CC }}-${{matrix.xwayland }}
|
||||||
|
|
@ -53,12 +53,12 @@ jobs:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
pacman-key --init
|
pacman-key --init
|
||||||
pacman -Syu --noconfirm xcb-util-wm seatd git clang meson libinput libdrm mesa libxkbcommon wayland wayland-protocols xorg-server-xwayland scdoc hwdata
|
pacman -Syu --noconfirm xcb-util-wm seatd git clang meson libinput libdrm mesa libxkbcommon wayland wayland-protocols xorg-server-xwayland scdoc hwdata libdisplay-info
|
||||||
- name: Fetch wlroots as a subproject
|
- name: Fetch wlroots as a subproject
|
||||||
run: git clone https://gitlab.freedesktop.org/wlroots/wlroots.git subprojects/wlroots -b $WLROOTS_VERSION
|
run: git clone https://gitlab.freedesktop.org/wlroots/wlroots.git subprojects/wlroots -b $WLROOTS_VERSION
|
||||||
- name: Check for formatting changes
|
- name: Check for formatting changes
|
||||||
run: |
|
run: |
|
||||||
meson build-clang-format -Dwlroots:xwayland=enabled
|
meson --wrap-mode=nodownload build-clang-format -Dwlroots:xwayland=enabled
|
||||||
ninja -C build-clang-format clang-format-check
|
ninja -C build-clang-format clang-format-check
|
||||||
|
|
||||||
scan-build:
|
scan-build:
|
||||||
|
|
@ -72,10 +72,10 @@ jobs:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
pacman-key --init
|
pacman-key --init
|
||||||
pacman -Syu --noconfirm xcb-util-wm seatd git clang meson libinput libdrm mesa libxkbcommon wayland wayland-protocols xorg-server-xwayland scdoc hwdata
|
pacman -Syu --noconfirm xcb-util-wm seatd git clang meson libinput libdrm mesa libxkbcommon wayland wayland-protocols xorg-server-xwayland scdoc hwdata libdisplay-info
|
||||||
- name: Fetch wlroots as a subproject
|
- name: Fetch wlroots as a subproject
|
||||||
run: git clone https://gitlab.freedesktop.org/wlroots/wlroots.git subprojects/wlroots -b $WLROOTS_VERSION
|
run: git clone https://gitlab.freedesktop.org/wlroots/wlroots.git subprojects/wlroots -b $WLROOTS_VERSION
|
||||||
- name: Run scan-build
|
- name: Run scan-build
|
||||||
run: |
|
run: |
|
||||||
meson build-scan-build -Dwlroots:xwayland=enabled
|
meson --wrap-mode=nodownload build-scan-build -Dwlroots:xwayland=enabled
|
||||||
ninja -C build-scan-build scan-build
|
ninja -C build-scan-build scan-build
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue