-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.drone.yml
67 lines (53 loc) · 1.39 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
## Links
## http://plugins.drone.io/drone-plugins/drone-github-release/
kind: pipeline
name: default
workspace:
base: /build
# path: src/github.com/yourname/go-drone-hello-world
steps:
- name: clean-folder
image: ubuntu:xenial
commands:
- pwd
- mkdir -p /build/dist
- ls -sh /build/dist
- name: build-xenial
image: ubuntu:xenial
commands:
- export DEBIAN_FRONTEND=noninteractive
- cd scripts
- bash NVENC-FFMPEG-OBSbuild.sh --dest /opt/ffmpeg-obs
- mv /root/dist/ffmpeg-obs-nvenc_* /build/dist/
- ls -sh /build/dist
- name: build-bionic
image: ubuntu:bionic
commands:
- export DEBIAN_FRONTEND=noninteractive
- cd scripts
- bash NVENC-FFMPEG-OBSbuild.sh --dest /opt/ffmpeg-obs
- mv /root/dist/ffmpeg-obs-nvenc_* /build/dist/
- ls -sh /build/dist
- name: build-disco
image: ubuntu:disco
commands:
- export DEBIAN_FRONTEND=noninteractive
- exit 0
- cd scripts
- bash NVENC-FFMPEG-OBSbuild.sh --dest /opt/ffmpeg-obs
- mv /root/dist/ffmpeg-obs-nvenc_* /build/dist/
- ls -sh /build/dist
- name: check-folder
image: ubuntu:xenial
commands:
- pwd
- ls -sh /build/dist
- name: publish
image: plugins/github-release
settings:
api_key:
from_secret: GITHUB_API_KEY
files:
- dist/*
when:
event: tag