-
Notifications
You must be signed in to change notification settings - Fork 11
80 lines (66 loc) · 2.23 KB
/
main.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
name: 'Build Portable Binaries'
on:
push:
branches:
- master
jobs:
windows-build:
name: 'Windows Latest'
runs-on: windows-latest
if: contains(github.event.head_commit.message, '[skip ci]') != true
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Install Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install Python Prerequisites
run: pip install -r requirements.txt pyinstaller
- name: Run PyInstaller
run: pyinstaller main.py --onefile --name obs-websocket-http --icon data/irltk_icon.ico
- name: Upload Artifacts
uses: actions/upload-artifact@v2
with:
name: obs-websocket-http-Windows
path: dist/obs-websocket-http*
linux-build:
name: 'Ubuntu Latest'
runs-on: ubuntu-latest
if: contains(github.event.head_commit.message, '[skip ci]') != true
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Install Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install Python Prerequisites
run: pip install -r requirements.txt pyinstaller
- name: Run PyInstaller
run: pyinstaller main.py --onefile --name obs-websocket-http --icon data/irltk_icon.ico
- name: Upload Artifacts
uses: actions/upload-artifact@v2
with:
name: obs-websocket-http-Ubuntu
path: dist/obs-websocket-http*
macos-build:
name: 'macOS Latest'
runs-on: macos-latest
if: contains(github.event.head_commit.message, '[skip ci]') != true
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Install Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install Python Prerequisites
run: pip install -r requirements.txt pyinstaller
- name: Run PyInstaller
run: pyinstaller main.py --onefile --name obs-websocket-http --icon data/irltk_icon.ico
- name: Upload Artifacts
uses: actions/upload-artifact@v2
with:
name: obs-websocket-http-MacOS
path: dist/obs-websocket-http*