forked from discord/lilliput
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (34 loc) · 810 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: CI
on:
push:
# branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
name: Build
strategy:
matrix:
runs-on:
- macos-14
- ubuntu-22.04
fail-fast: false
runs-on: ${{ matrix.runs-on }}
steps:
- name: Check out repo
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: "1.22"
- run: ls -l /Users/runner/work/lilliput/lilliput/deps/osx/arm64/share/OpenCV/3rdparty/lib || true
- run: ls -l /Users/runner/work/lilliput/lilliput/deps/linux/arm64/share/OpenCV/3rdparty/lib || true
- name: Build
run: go build
- name: Test
run: go test
- name: Examples
run: |
cd examples
go build