blob: f8cb452cda0dfa4e6373522e596efd1d8ce7d27c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Build river and run the test suite every time a commit is pushed to master or
# a pull request is opened against master.
#
# TODO: figure out why this didn't work on alpine
on:
push:
branches:
- master
pull_request:
branches:
- master
name: Archliunx CI
jobs:
build:
name: Archliunx CI
runs-on: ubuntu-latest
#container: alpine:edge
container: archlinux:latest
steps:
- name: Install Dependencies
run: |
#apk add --no-cache wlroots-dev
#apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing zig
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 src/**/*.zig
|