forked from mortie/swaylock-effects
-
-
Notifications
You must be signed in to change notification settings - Fork 19
41 lines (38 loc) · 945 Bytes
/
ci.yml
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
name: CI
on:
- push
- pull_request
jobs:
build:
name: Build on Alpine ${{ matrix.arch }}
runs-on: ubuntu-latest
strategy:
matrix:
arch:
- x86_64
- aarch64
- armv7
- ppc64le
- riscv64
steps:
- name: Checkout repository
uses: actions/checkout@v1
- name: Install latest Alpine Linux for ${{ matrix.arch }}
uses: jirutka/setup-alpine@v1
with:
arch: ${{ matrix.arch }}
branch: ${{ matrix.arch == 'riscv64' && 'edge' || 'latest-stable' }}
packages: >
build-base
cairo-dev
libxkbcommon-dev
linux-pam-dev
meson
scdoc
wayland-dev
wayland-protocols
- name: Build
run: |
meson -Dgdk-pixbuf=disabled . output
meson compile -C output --verbose
shell: alpine.sh {0}