-
Notifications
You must be signed in to change notification settings - Fork 1
48 lines (42 loc) · 1.03 KB
/
build_examples.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
42
43
44
45
46
47
48
name: Test goremy examples
on:
push:
branches:
- $default-branch
- develop
paths:
- 'remy/**'
- 'examples/**'
- '.github/workflows/build_examples.yml'
pull_request:
branches:
- $default-branch
- develop
paths:
- 'remy/**'
- 'examples/**'
- '.github/workflows/build_examples.yml'
jobs:
build:
strategy:
matrix:
go-version:
- 1.20.x
- 1.21.x
- 1.22.x
platform:
- ubuntu-latest
- windows-latest
runs-on: '${{ matrix.platform }}'
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '${{ matrix.go-version }}'
- name: Build basic example
run: cd ./examples/basic && go build -v ./...
- name: Build bindlogger example
run: cd ./examples/bindlogger && go build -v ./...
- name: Build guessing_types example
run: cd ./examples/guessing_types && go build -v ./...