docs: Update to addCustomProtocol() in README #95
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
# 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: voidlinux glibc | |
jobs: | |
default_build: | |
name: build/test/fmt | |
runs-on: ubuntu-latest | |
container: voidlinux/voidlinux:latest | |
steps: | |
- name: install deps | |
run: | | |
xbps-install -Sy xbps | |
xbps-install -Suy | |
xbps-install -y wayland-devel wayland-protocols pkgconf git gcc wget tar xz | |
wget https://ziglang.org/download/0.11.0/zig-linux-x86_64-0.11.0.tar.xz | |
tar -xvf zig-linux-x86_64-0.11.0.tar.xz | |
mv zig-linux-x86_64-0.11.0/zig /usr/bin/ | |
mv zig-linux-x86_64-0.11.0/lib /usr/lib/zig | |
zig env | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: build | |
run: | | |
zig build | |
- name: test | |
run: | | |
zig build test | |
- name: fmt | |
run: | | |
zig fmt --check src/ | |
zig fmt --check example/ | |
zig fmt --check build.zig |