This repository was archived by the owner on Jan 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
62 lines (53 loc) · 1.37 KB
/
ci.yml
File metadata and controls
62 lines (53 loc) · 1.37 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: CI
on: [push]
jobs:
macos-build:
name: MacOS Build
runs-on: macOS-latest
strategy:
matrix:
go: [1.14.2]
steps:
- name: Set up Go 1.14.2
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go }}
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v1
- name: Install packages
run: |
brew install pkg-config
brew install vulkan-headers
brew install molten-vk
brew install sdl2
brew install gtk+
brew install gtk+3
go get -u github.com/gobuffalo/packr/packr
- name: Build
run: |
export PATH=$PATH:$(go env GOPATH)/bin
make all
ubuntu-build:
name: Ubuntu Build
runs-on: ubuntu-latest
strategy:
matrix:
go: [1.14.2]
steps:
- name: Set up Go 1.14.2
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go }}
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v1
- name: Install packages
run: |
sudo apt-get update
sudo apt-get install -y libvulkan-dev libsdl2-dev build-essential make libgtk-3-dev libgtk2.0-dev
go get -u github.com/gobuffalo/packr/packr
- name: Build
run: |
export PATH=$PATH:$(go env GOPATH)/bin
make all