File tree Expand file tree Collapse file tree 1 file changed +71
-0
lines changed
Expand file tree Collapse file tree 1 file changed +71
-0
lines changed Original file line number Diff line number Diff line change 1+ #
2+ # Author: Hari Sekhon
3+ # Date: 2020-03-16 14:02:53 +0000 (Mon, 16 Mar 2020)
4+ #
5+ # vim:ts=2:sts=2:sw=2:et
6+ #
7+ # https://github.com/harisekhon/devops-python-tools
8+ #
9+ # License: see accompanying Hari Sekhon LICENSE file
10+ #
11+ # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish
12+ #
13+ # https://www.linkedin.com/in/harisekhon
14+ #
15+
16+ # https://docs.semaphoreci.com/reference/pipeline-yaml-reference/
17+
18+ version : v1.0
19+ name : devops-python-tools
20+ agent :
21+ machine :
22+ type : e1-standard-2
23+ os_image : ubuntu1804
24+ execution_time_limit :
25+ hours : 3
26+ blocks :
27+ - name : Linux build
28+ run :
29+ when : " branch = 'master'"
30+ # execution_time_limit:
31+ # hours: 2
32+ task :
33+ prologue :
34+ commands :
35+ - cache restore
36+ jobs :
37+ - name : install git & make
38+ commands :
39+ - sudo apt update -qq
40+ - sudo apt install -qy git make
41+ - name : build
42+ commands :
43+ - checkout
44+ - make init
45+ - make ci
46+ - make test
47+ epilogue :
48+ commands :
49+ - cache store
50+ - name : Mac build
51+ run :
52+ when : " branch = 'masterX'"
53+ task :
54+ agent :
55+ machine :
56+ type : a1-standard-4
57+ os_image : macos-mojave-xcode10
58+ # os_image: macos-mojave-xcode11
59+ prologue :
60+ commands :
61+ - cache restore
62+ jobs :
63+ - name : build
64+ commands :
65+ - checkout
66+ - make init
67+ - make ci
68+ - make test
69+ epilogue :
70+ commands :
71+ - cache store
You can’t perform that action at this time.
0 commit comments