-
Notifications
You must be signed in to change notification settings - Fork 87
26 lines (26 loc) · 908 Bytes
/
ci.yaml
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
name: CI
on: [push, pull_request]
jobs:
arch:
runs-on: ubuntu-latest
container: archlinux:latest
steps:
- run: pacman --noconfirm --noprogressbar -Syu
- run: pacman --noconfirm --noprogressbar -S make go asciidoc gcc git
- uses: actions/checkout@v1
- run: git config --global --add safe.directory $(pwd)
- run: make
- run: make test
- run: GOBIN=/usr/bin make lint
void:
runs-on: ubuntu-latest
container: voidlinux/voidlinux-musl
steps:
# update xbps, if necessary
- run: xbps-install -Syu || ( xbps-install -yu xbps && xbps-install -Syu)
- run: xbps-install -y make go asciidoc gcc git
- uses: actions/checkout@v1
- run: git config --global --add safe.directory $(pwd)
- run: make
- run: make test
- run: GOBIN=/usr/bin make lint