forked from refractionPOINT/usp-adapters
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cloudbuild_general.yaml
53 lines (53 loc) · 1.56 KB
/
cloudbuild_general.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
43
44
45
46
47
48
49
50
51
52
53
steps:
- name: 'golang'
id: run-tests
args: ['go', 'test', '-race', './...', '-v']
- name: 'golang'
args: ['go', 'build', '-v', '-o', 'lc_adapter_linux_64', './containers/general']
waitFor: ['run-tests']
- name: 'golang'
args: ['go', 'build', '-v', '-o', 'lc_adapter_windows_64.exe', './containers/general']
env:
- 'GOOS=windows'
- 'GOARCH=amd64'
waitFor: ['run-tests']
- name: 'golang'
args: ['go', 'build', '-v', '-o', 'lc_adapter_macos_64', './containers/general']
env:
- 'GOOS=darwin'
- 'GOARCH=amd64'
waitFor: ['run-tests']
- name: 'golang'
args: ['go', 'build', '-v', '-o', 'lc_adapter_macos_arm64', './containers/general']
env:
- 'GOOS=darwin'
- 'GOARCH=arm64'
waitFor: ['run-tests']
- name: 'golang'
args: ['go', 'build', '-v', '-o', 'lc_adapter_linux_arm', './containers/general']
env:
- 'GOOS=linux'
- 'GOARCH=arm'
- 'GOARM=5'
waitFor: ['run-tests']
- name: 'golang'
args: ['go', 'build', '-v', '-o', 'lc_adapter_linux_arm64', './containers/general']
env:
- 'GOOS=linux'
- 'GOARCH=arm64'
waitFor: ['run-tests']
- name: 'golang'
args: ['go', 'build', '-v', '-o', 'lc_adapter_solaris_amd64', './containers/general']
env:
- 'GOOS=solaris'
- 'GOARCH=amd64'
waitFor: ['run-tests']
- name: 'golang'
args: ['go', 'build', '-v', '-o', 'lc_adapter_aix_ppc64', './containers/general']
env:
- 'GOOS=aix'
- 'GOARCH=ppc64'
waitFor: ['run-tests']
options:
machineType: 'N1_HIGHCPU_8'
timeout: 15m