-
Notifications
You must be signed in to change notification settings - Fork 6
/
.gohci.yml
64 lines (63 loc) · 1002 Bytes
/
.gohci.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Copyright 2021 The Periph Authors. All rights reserved.
# Use of this source code is governed under the Apache License, Version 2.0
# that can be found in the LICENSE file.
# See https://github.com/periph/gohci
version: 1
workers:
- checks:
- cmd:
- go
- test
- ./...
# Test in advance: host
- dir: ..
cmd:
- git
- clone
- --depth
- 1
- https://github.com/periph/host
- dir: ../host
cmd:
- go
- mod
- edit
- -replace=periph.io/x/d2xx=../d2xx
- dir: ../host
cmd:
- go
- get
- -t
- ./...
- dir: ../host
cmd:
- go
- test
- -short
- ./...
# Test in advance: cmd
- dir: ..
cmd:
- git
- clone
- --depth
- 1
- https://github.com/periph/cmd
- dir: ../cmd
cmd:
- go
- mod
- edit
- -replace=periph.io/x/d2xx=../d2xx
- dir: ../cmd
cmd:
- go
- get
- -t
- ./...
- dir: ../cmd
cmd:
- go
- test
- -short
- ./...