Build on latest Hyprland git commit #395
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 latest Hyprland git commit | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
schedule: | |
# run every night at 2AM (the base docker image is updated at midnight) | |
- cron: '0 2 * * *' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
# image built from the Dockerfile in the .github/ folder | |
image: duckonaut/hyprland-arch:latest | |
steps: | |
- name: Install dependencies | |
run: | | |
sudo -u user sh -c "paru -Syu --noconfirm aquamarine-git hyprland-git hyprutils-git hyprwayland-scanner-git" | |
- name: Checkout current repository | |
uses: actions/checkout@v4 | |
- name: Build current repository | |
run: | | |
meson setup build --wipe | |
ninja -C build |