forked from MrZammler/iGame
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
95 lines (89 loc) · 1.93 KB
/
.drone.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
---
kind: pipeline
type: docker
name: compile-tests
workspace:
path: /drone/src
steps:
- name: compile-m68k
pull: always
image: walkero/docker4amigavbcc:latest-m68k
commands:
- make -f Makefile.docker
- make -f Makefile.docker iGame.030
- make -f Makefile.docker iGame.040
- make -f Makefile.docker iGame.060
- name: compile-os4
pull: always
image: walkero/docker4amigavbcc:latest-ppc
commands:
- make -f Makefile.docker iGame.OS4
- name: compile-mos
pull: always
image: walkero/docker4amigavbcc:latest-mos
commands:
- make -f Makefile.docker iGame.MOS
- name: create-release-lha
image: walkero/docker4amigavbcc:latest-m68k
commands:
- make -f Makefile.docker release
depends_on:
- compile-m68k
- compile-os4
- compile-mos
trigger:
branch:
include:
- master
- develop
event:
include:
- push
- pull_request
---
kind: pipeline
type: docker
name: compile-release-bytag
workspace:
path: /drone/src
steps:
- name: compile-m68k
pull: always
image: walkero/docker4amigavbcc:latest-m68k
commands:
- make -f Makefile.docker
- make -f Makefile.docker iGame.030
- make -f Makefile.docker iGame.040
- make -f Makefile.docker iGame.060
- name: compile-os4
pull: always
image: walkero/docker4amigavbcc:latest-ppc
commands:
- make -f Makefile.docker iGame.OS4
- name: compile-mos
pull: always
image: walkero/docker4amigavbcc:latest-mos
commands:
- make -f Makefile.docker iGame.MOS
- name: create-release-lha
image: walkero/docker4amigavbcc:latest-m68k
commands:
- make -f Makefile.docker release
depends_on:
- compile-m68k
- compile-os4
- compile-mos
- name: deploy-all-binary
image: plugins/github-release
settings:
api_key:
from_secret: GITHUB_RELEASE_API_KEY
files:
- "iGame-*.lha"
title: "iGame release ${DRONE_TAG}"
depends_on:
- create-release-lha
trigger:
event:
include:
- tag