-
Notifications
You must be signed in to change notification settings - Fork 55
60 lines (55 loc) · 1.18 KB
/
ci.yml
File metadata and controls
60 lines (55 loc) · 1.18 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
name: CI - Master
on:
push:
branches:
- master
pull_request:
branches:
- master
merge_group:
branches:
- master
jobs:
build-multiarch:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
include:
- os: darwin
arch: amd64
- os: freebsd
arch: 386
- os: freebsd
arch: amd64
- os: freebsd
arch: arm
- os: linux
arch: 386
- os: linux
arch: amd64
- os: linux
arch: arm
- os: openbsd
arch: 386
- os: openbsd
arch: amd64
- os: solaris
arch: amd64
- os: windows
arch: 386
- os: windows
arch: amd64
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Build project
run: GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }} go build -o terraform-provider-sysdig
test:
name: Test
uses: ./.github/workflows/test.yml
secrets: inherit