Examples #1174
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build on archlinux with wlroots-17 | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
container: | |
runs-on: ubuntu-latest | |
container: archlinux:latest | |
steps: | |
- name: Run in container | |
run: | | |
cat /etc/pacman.d/mirrorlist | |
pacman-key --init | |
pacman --noconfirm --noprogressbar -Syu | |
- name: Install dep | |
run: | | |
pacman -Syu --noconfirm --noprogressbar base-devel qt6-base qt6-declarative cmake pkgconfig pixman wlroots0.17 wayland-protocols wlr-protocols git | |
pacman -Syu --noconfirm --noprogressbar clang ninja make | |
pacman -Syu --noconfirm --noprogressbar fakeroot meson sudo | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Configure CMake | |
run: | | |
export PKG_CONFIG_PATH=/usr/lib/wlroots0.17/pkgconfig/ | |
mkdir -p ${{github.workspace}}/build | |
cmake -B ${{github.workspace}}/build -G Ninja -DWITH_SUBMODULE_QWLROOTS=ON | |
- name: Build | |
# Build your program with the given configuration | |
run: cmake --build ${{github.workspace}}/build |