Set up GitHub actions #2
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: CI | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
schedule: | |
- cron: '0 0 * * *' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
# image built from the Dockerfile in the .github/ folder | |
image: zjeffer/hyprland-arch:latest | |
steps: | |
- name: Checkout current repository | |
uses: actions/checkout@v2 | |
- name: Build current repository | |
run: | | |
meson setup build --wipe | |
ninja -C build |