1
- name : ' CI Multiplatform Build'
1
+ name : " CI Multiplatform Build"
2
2
3
3
on :
4
4
push :
5
5
paths-ignore :
6
- - ' **.md'
7
- branches : [ "staging" ]
6
+ - " **.md"
7
+ branches : ["staging"]
8
8
tags :
9
- - ' * '
9
+ - " * "
10
10
pull_request :
11
11
paths-ignore :
12
- - ' **.md'
13
- branches : [ "staging" ]
12
+ - " **.md"
13
+ branches : ["staging"]
14
14
15
15
env :
16
16
InstallPath : " obs-studio-node"
22
22
SLGenerator : Visual Studio 17 2022
23
23
SLDistributeDirectory : distribute
24
24
SLFullDistributePath : " streamlabs-build.app/distribute" # The .app extension is required to run macOS tests correctly.
25
- LibOBSVersion : 30.2.4sl35
25
+ LibOBSVersion : 30.2.4sl36-m12-test1
26
26
PACKAGE_NAME : osn
27
27
28
28
jobs :
29
29
macos64 :
30
- name : ' macOS'
30
+ name : " macOS"
31
31
runs-on : ${{ matrix.image }}
32
32
strategy :
33
33
matrix :
@@ -46,30 +46,30 @@ jobs:
46
46
env :
47
47
OS_TAG : " osx"
48
48
steps :
49
- - name : ' Checkout'
49
+ - name : " Checkout"
50
50
uses : actions/checkout@v3
51
51
with :
52
- submodules : ' recursive'
52
+ submodules : " recursive"
53
53
- name : Get the version
54
54
id : get_version
55
55
run : echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT
56
56
shell : bash
57
57
- name : Install Node.js
58
58
uses : actions/setup-node@v3
59
59
with :
60
- node-version : ' 18.x'
60
+ node-version : " 18.x"
61
61
- name : Install dependencies
62
62
shell : bash
63
- run : ' ./ci/install-dependencies-osx.sh'
64
- - name : ' Configure obs-studio-node'
63
+ run : " ./ci/install-dependencies-osx.sh"
64
+ - name : " Configure obs-studio-node"
65
65
shell : bash
66
- run : ' ./ci/configure-osn-osx.sh'
66
+ run : " ./ci/configure-osn-osx.sh"
67
67
env :
68
68
BUILD_CONFIG : ${{matrix.BuildConfig}}
69
69
RELEASE_NAME : ${{matrix.ReleaseName}}
70
70
ARCHITECTURE : ${{matrix.Architecture}}
71
71
tagartifact : ${{ steps.get_version.outputs.VERSION }}
72
- - name : ' Build obs-studio-node'
72
+ - name : " Build obs-studio-node"
73
73
run : ./ci/build-osn-osx.sh
74
74
shell : bash
75
75
env :
@@ -80,12 +80,12 @@ jobs:
80
80
run : node ci/bump-version.js "${{ steps.get_version.outputs.VERSION }}" "${{env.PACKAGE_PATH}}"
81
81
env :
82
82
PACKAGE_PATH : " ${{env.SLFullDistributePath}}/${{env.InstallPath}}"
83
- - name : ' Run tests'
83
+ - name : " Run tests"
84
84
continue-on-error : true
85
- run : ' yarn run test'
85
+ run : " yarn run test"
86
86
env :
87
87
SLOBS_BE_STREAMKEY : ${{secrets.testsStreamKey}}
88
- SLOBS_TEST_USER_POOL_TOKEN : ${{secrets.testsUserPoolToken}}
88
+ SLOBS_TEST_USER_POOL_TOKEN : ${{secrets.testsUserPoolToken}}
89
89
90
90
OSN_ACCESS_KEY_ID : ${{secrets.AWS_RELEASE_ACCESS_KEY_ID}}
91
91
OSN_SECRET_ACCESS_KEY : ${{secrets.AWS_RELEASE_SECRET_ACCESS_KEY}}
@@ -108,26 +108,26 @@ jobs:
108
108
run : aws s3 cp ${{env.TARGET_ARTIFACT}}.tar.gz s3://${{env.RELEASE_BUCKET}} --acl public-read
109
109
env :
110
110
TARGET_ARTIFACT : ${{env.PACKAGE_NAME}}-${{ steps.get_version.outputs.VERSION }}-${{matrix.ReleaseName}}-${{env.OS_TAG}}-${{matrix.Architecture}}
111
- - name : ' Upload debug files to Sentry'
111
+ - name : " Upload debug files to Sentry"
112
112
if : startsWith(github.ref, 'refs/tags/')
113
- run : ' python ./ci/sentry-osx.py'
113
+ run : " python ./ci/sentry-osx.py"
114
114
env :
115
- SENTRY_AUTH_TOKEN : ${{secrets.SENTRY_AUTH_TOKEN}}
116
- BUILDCONFIG : ${{matrix.BuildConfig}}
115
+ SENTRY_AUTH_TOKEN : ${{secrets.SENTRY_AUTH_TOKEN}}
116
+ BUILDCONFIG : ${{matrix.BuildConfig}}
117
117
118
118
win64 :
119
- name : ' Windows 64-bit'
119
+ name : " Windows 64-bit"
120
120
runs-on : windows-latest
121
121
strategy :
122
122
matrix :
123
123
ReleaseName : [release]
124
124
include :
125
- - ReleaseName : release
126
- ReleaseConfig : RelWithDebInfo
125
+ - ReleaseName : release
126
+ ReleaseConfig : RelWithDebInfo
127
127
env :
128
128
OS_TAG : " win64"
129
129
steps :
130
- - name : ' Add msbuild to PATH'
130
+ - name : " Add msbuild to PATH"
131
131
uses : microsoft/setup-msbuild@v1
132
132
- name : Install older build components
133
133
run : |
@@ -145,10 +145,10 @@ jobs:
145
145
$process = Start-Process -FilePath cmd.exe -ArgumentList $Arguments -Wait -PassThru -WindowStyle Hidden
146
146
$process = Start-Process -FilePath cmd.exe -ArgumentList $Arguments -Wait -PassThru -WindowStyle Hidden
147
147
shell : powershell
148
- - name : ' Checkout'
148
+ - name : " Checkout"
149
149
uses : actions/checkout@v3
150
150
with :
151
- submodules : ' recursive'
151
+ submodules : " recursive"
152
152
- name : Get the version
153
153
id : get_version
154
154
run : |
@@ -172,12 +172,12 @@ jobs:
172
172
env :
173
173
PACKAGE_PATH : " ${{env.SLFullDistributePath}}/${{env.InstallPath}}"
174
174
175
- - name : ' Run tests'
175
+ - name : " Run tests"
176
176
continue-on-error : false
177
- run : ' yarn run test'
177
+ run : " yarn run test"
178
178
env :
179
179
SLOBS_BE_STREAMKEY : ${{secrets.testsStreamKey}}
180
- SLOBS_TEST_USER_POOL_TOKEN : ${{secrets.testsUserPoolToken}}
180
+ SLOBS_TEST_USER_POOL_TOKEN : ${{secrets.testsUserPoolToken}}
181
181
182
182
OSN_ACCESS_KEY_ID : ${{secrets.AWS_RELEASE_ACCESS_KEY_ID}}
183
183
OSN_SECRET_ACCESS_KEY : ${{secrets.AWS_RELEASE_SECRET_ACCESS_KEY}}
@@ -211,9 +211,9 @@ jobs:
211
211
AWS_SYMB_SECRET_ACCESS_KEY : ${{secrets.AWS_SYMB_SECRET_ACCESS_KEY}}
212
212
shell : powershell
213
213
214
- - name : ' Copy necessary dll files'
214
+ - name : " Copy necessary dll files"
215
215
run : ./ci/copy-files.cmd
216
- - name : ' Prepare tag artifact'
216
+ - name : " Prepare tag artifact"
217
217
if : startsWith(github.ref, 'refs/tags/')
218
218
run : ./ci/prepare-artifact.cmd
219
219
0 commit comments