-
Notifications
You must be signed in to change notification settings - Fork 18
112 lines (95 loc) · 3.15 KB
/
nightly.yml
File metadata and controls
112 lines (95 loc) · 3.15 KB
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
name: Build nightly
on:
pull_request:
branches:
- master
push:
branches:
- master
schedule:
- cron: '0 0 * * *'
env:
ROOT_DIR: ${{ github.workspace }}
jobs:
nightly:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Checkout streamlink-portable scripts
uses: actions/checkout@v2
# check out a specific streamlink tag
- name: Check out streamlink ${{ steps.streamlink_tag.outputs.VERSION }}
uses: actions/checkout@v2
with:
repository: streamlink/streamlink
path: streamlink
fetch-depth: 300
- name: Grab the latest tags for streamlink
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
working-directory: streamlink
- uses: actions/setup-python@v1
name: Setup Python
with:
python-version: 3.7
- name: Install dependencies
run: pip install -U wheel pip
- name: Build win32 package (Python 3.6)
run: bash ./scripts/makeportable.sh
env:
STREAMLINK_PYTHON_VERSION: 3.6.8
STREAMLINK_PYTHON_ARCH: win32
- name: Build amd64 package (Python 3.6)
run: bash ./scripts/makeportable.sh
env:
STREAMLINK_PYTHON_VERSION: 3.6.8
STREAMLINK_PYTHON_ARCH: amd64
- name: Build win32 package (Python 3.7)
run: bash ./scripts/makeportable.sh
env:
STREAMLINK_PYTHON_VERSION: 3.7.9
STREAMLINK_PYTHON_ARCH: win32
- name: Build amd64 package (Python 3.7)
run: bash ./scripts/makeportable.sh
env:
STREAMLINK_PYTHON_VERSION: 3.7.9
STREAMLINK_PYTHON_ARCH: amd64
- name: Build win32 package (Python 3.8)
run: bash ./scripts/makeportable.sh
env:
STREAMLINK_PYTHON_VERSION: 3.8.10
STREAMLINK_PYTHON_ARCH: win32
- name: Build amd64 package (Python 3.8)
run: bash ./scripts/makeportable.sh
env:
STREAMLINK_PYTHON_VERSION: 3.8.10
STREAMLINK_PYTHON_ARCH: amd64
- name: Build win32 package (Python 3.9)
run: bash ./scripts/makeportable.sh
env:
STREAMLINK_PYTHON_VERSION: 3.9.7
STREAMLINK_PYTHON_ARCH: win32
- name: Build amd64 package (Python 3.9)
run: bash ./scripts/makeportable.sh
env:
STREAMLINK_PYTHON_VERSION: 3.9.7
STREAMLINK_PYTHON_ARCH: amd64
- name: Build win32 package (Python 3.10)
run: bash ./scripts/makeportable.sh
env:
STREAMLINK_PYTHON_VERSION: 3.10.0
STREAMLINK_PYTHON_ARCH: win32
- name: Build amd64 package (Python 3.10)
run: bash ./scripts/makeportable.sh
env:
STREAMLINK_PYTHON_VERSION: 3.10.0
STREAMLINK_PYTHON_ARCH: amd64
- name: Create/update latest release
if: github.ref == 'refs/heads/master'
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Nightly Build"
files: |
dist/streamlink-portable*.zip