-
Notifications
You must be signed in to change notification settings - Fork 32
25 lines (25 loc) · 714 Bytes
/
go.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
name: Go
on:
push:
pull_request:
permissions:
contents: read
pull-requests: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 'Install Gio dependencies'
run: sudo apt install gcc pkg-config libwayland-dev libx11-dev libx11-xcb-dev libxkbcommon-x11-dev libgles2-mesa-dev libegl1-mesa-dev libffi-dev libxcursor-dev libvulkan-dev
- name: 'Setup Go'
uses: actions/setup-go@v4
with:
go-version: '>=1.21'
- name: 'Checkout Repository'
uses: actions/checkout@v3
- name: 'Run tests'
run: make tests
- name: 'Build Vinegar'
run: make
- name: 'Build Vinegar with nosplash'
run: make clean vinegar VINEGAR_GOFLAGS=--tags=nogui