41 lines
798 B
YAML
41 lines
798 B
YAML
# Build river and run the test suite every time a commit is pushed to master or
|
|
# a pull request is opened against master.
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
name: Archliunx
|
|
|
|
jobs:
|
|
build:
|
|
name: Archliunx
|
|
runs-on: ubuntu-latest
|
|
container: archlinux:latest
|
|
|
|
steps:
|
|
- name: Install Dependencies
|
|
run: |
|
|
pacman -Syu --noconfirm zig wayland-protocols wlroots pkgconf
|
|
|
|
- name: Checkout Code
|
|
uses: actions/checkout@master
|
|
|
|
- name: build
|
|
run: |
|
|
zig build
|
|
|
|
- name: test
|
|
run: |
|
|
zig build test
|
|
|
|
- name: zig fmt
|
|
run: |
|
|
zig fmt --check river/**/*.zig
|
|
zig fmt --check riverctl/**/*.zig
|
|
zig fmt --check build.zig
|