|
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.4sl17 |
| 25 | + LibOBSVersion: 30.2.4sl18 |
26 | 26 | PACKAGE_NAME: osn
|
27 | 27 |
|
28 | 28 | jobs:
|
29 |
| - # macos64: |
30 |
| - # name: 'macOS' |
31 |
| - # runs-on: ${{ matrix.image }} |
32 |
| - # strategy: |
33 |
| - # matrix: |
34 |
| - # BuildReleases: [Release-x86_64, Release-arm64] |
35 |
| - # include: |
36 |
| - # - BuildReleases: Release-x86_64 |
37 |
| - # image: macos-13 |
38 |
| - # BuildConfig: RelWithDebInfo |
39 |
| - # ReleaseName: release |
40 |
| - # Architecture: x86_64 |
41 |
| - # - BuildReleases: Release-arm64 |
42 |
| - # image: macos-14 |
43 |
| - # BuildConfig: RelWithDebInfo |
44 |
| - # ReleaseName: release |
45 |
| - # Architecture: arm64 |
46 |
| - # env: |
47 |
| - # OS_TAG: "osx" |
48 |
| - # steps: |
49 |
| - # - name: 'Checkout' |
50 |
| - # uses: actions/checkout@v3 |
51 |
| - # with: |
52 |
| - # submodules: 'recursive' |
53 |
| - # - name: Get the version |
54 |
| - # id: get_version |
55 |
| - # run: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT |
56 |
| - # shell: bash |
57 |
| - # - name: Install Node.js |
58 |
| - # uses: actions/setup-node@v3 |
59 |
| - # with: |
60 |
| - # node-version: '18.x' |
61 |
| - # - name: Install dependencies |
62 |
| - # shell: bash |
63 |
| - # run: './ci/install-dependencies-osx.sh' |
64 |
| - # - name: 'Configure obs-studio-node' |
65 |
| - # shell: bash |
66 |
| - # run: './ci/configure-osn-osx.sh' |
67 |
| - # env: |
68 |
| - # BUILD_CONFIG: ${{matrix.BuildConfig}} |
69 |
| - # RELEASE_NAME: ${{matrix.ReleaseName}} |
70 |
| - # ARCHITECTURE: ${{matrix.Architecture}} |
71 |
| - # tagartifact: ${{ steps.get_version.outputs.VERSION }} |
72 |
| - # - name: 'Build obs-studio-node' |
73 |
| - # run: ./ci/build-osn-osx.sh |
74 |
| - # shell: bash |
75 |
| - # env: |
76 |
| - # BUILD_CONFIG: ${{matrix.BuildConfig}} |
77 |
| - # SENTRY_AUTH_TOKEN: ${{secrets.SENTRY_AUTH_TOKEN}} |
78 |
| - # - name: Put version into package.json |
79 |
| - # if: startsWith(github.ref, 'refs/tags/') |
80 |
| - # run: node ci/bump-version.js "${{ steps.get_version.outputs.VERSION }}" "${{env.PACKAGE_PATH}}" |
81 |
| - # env: |
82 |
| - # PACKAGE_PATH: "${{env.SLFullDistributePath}}/${{env.InstallPath}}" |
83 |
| - # - name: 'Run tests' |
84 |
| - # continue-on-error: true |
85 |
| - # run: 'yarn run test' |
86 |
| - # env: |
87 |
| - # SLOBS_BE_STREAMKEY: ${{secrets.testsStreamKey}} |
88 |
| - # SLOBS_TEST_USER_POOL_TOKEN: ${{secrets.testsUserPoolToken}} |
| 29 | + macos64: |
| 30 | + name: 'macOS' |
| 31 | + runs-on: ${{ matrix.image }} |
| 32 | + strategy: |
| 33 | + matrix: |
| 34 | + BuildReleases: [Release-x86_64, Release-arm64] |
| 35 | + include: |
| 36 | + - BuildReleases: Release-x86_64 |
| 37 | + image: macos-13 |
| 38 | + BuildConfig: RelWithDebInfo |
| 39 | + ReleaseName: release |
| 40 | + Architecture: x86_64 |
| 41 | + - BuildReleases: Release-arm64 |
| 42 | + image: macos-14 |
| 43 | + BuildConfig: RelWithDebInfo |
| 44 | + ReleaseName: release |
| 45 | + Architecture: arm64 |
| 46 | + env: |
| 47 | + OS_TAG: "osx" |
| 48 | + steps: |
| 49 | + - name: 'Checkout' |
| 50 | + uses: actions/checkout@v3 |
| 51 | + with: |
| 52 | + submodules: 'recursive' |
| 53 | + - name: Get the version |
| 54 | + id: get_version |
| 55 | + run: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT |
| 56 | + shell: bash |
| 57 | + - name: Install Node.js |
| 58 | + uses: actions/setup-node@v3 |
| 59 | + with: |
| 60 | + node-version: '18.x' |
| 61 | + - name: Install dependencies |
| 62 | + shell: bash |
| 63 | + run: './ci/install-dependencies-osx.sh' |
| 64 | + - name: 'Configure obs-studio-node' |
| 65 | + shell: bash |
| 66 | + run: './ci/configure-osn-osx.sh' |
| 67 | + env: |
| 68 | + BUILD_CONFIG: ${{matrix.BuildConfig}} |
| 69 | + RELEASE_NAME: ${{matrix.ReleaseName}} |
| 70 | + ARCHITECTURE: ${{matrix.Architecture}} |
| 71 | + tagartifact: ${{ steps.get_version.outputs.VERSION }} |
| 72 | + - name: 'Build obs-studio-node' |
| 73 | + run: ./ci/build-osn-osx.sh |
| 74 | + shell: bash |
| 75 | + env: |
| 76 | + BUILD_CONFIG: ${{matrix.BuildConfig}} |
| 77 | + SENTRY_AUTH_TOKEN: ${{secrets.SENTRY_AUTH_TOKEN}} |
| 78 | + - name: Put version into package.json |
| 79 | + if: startsWith(github.ref, 'refs/tags/') |
| 80 | + run: node ci/bump-version.js "${{ steps.get_version.outputs.VERSION }}" "${{env.PACKAGE_PATH}}" |
| 81 | + env: |
| 82 | + PACKAGE_PATH: "${{env.SLFullDistributePath}}/${{env.InstallPath}}" |
| 83 | + - name: 'Run tests' |
| 84 | + continue-on-error: true |
| 85 | + run: 'yarn run test' |
| 86 | + env: |
| 87 | + SLOBS_BE_STREAMKEY: ${{secrets.testsStreamKey}} |
| 88 | + SLOBS_TEST_USER_POOL_TOKEN: ${{secrets.testsUserPoolToken}} |
89 | 89 |
|
90 |
| - # OSN_ACCESS_KEY_ID: ${{secrets.AWS_RELEASE_ACCESS_KEY_ID}} |
91 |
| - # OSN_SECRET_ACCESS_KEY: ${{secrets.AWS_RELEASE_SECRET_ACCESS_KEY}} |
92 |
| - # RELEASE_NAME: ${{matrix.ReleaseName}} |
| 90 | + OSN_ACCESS_KEY_ID: ${{secrets.AWS_RELEASE_ACCESS_KEY_ID}} |
| 91 | + OSN_SECRET_ACCESS_KEY: ${{secrets.AWS_RELEASE_SECRET_ACCESS_KEY}} |
| 92 | + RELEASE_NAME: ${{matrix.ReleaseName}} |
93 | 93 |
|
94 |
| - # - name: Tar artifact for deployment |
95 |
| - # if: startsWith(github.ref, 'refs/tags/') |
96 |
| - # run: tar -cvzf ${{env.TARGET_ARTIFACT}}.tar.gz -C ${{env.SLFullDistributePath}} ${{env.InstallPath}} |
97 |
| - # env: |
98 |
| - # TARGET_ARTIFACT: ${{env.PACKAGE_NAME}}-${{ steps.get_version.outputs.VERSION }}-${{matrix.ReleaseName}}-${{env.OS_TAG}}-${{matrix.Architecture}} |
99 |
| - # - name: Configure AWS credentials |
100 |
| - # if: startsWith(github.ref, 'refs/tags/') |
101 |
| - # uses: aws-actions/configure-aws-credentials@v1 |
102 |
| - # with: |
103 |
| - # aws-access-key-id: ${{secrets.AWS_RELEASE_ACCESS_KEY_ID}} |
104 |
| - # aws-secret-access-key: ${{secrets.AWS_RELEASE_SECRET_ACCESS_KEY}} |
105 |
| - # aws-region: us-west-2 |
106 |
| - # - name: Deploy |
107 |
| - # if: startsWith(github.ref, 'refs/tags/') |
108 |
| - # run: aws s3 cp ${{env.TARGET_ARTIFACT}}.tar.gz s3://${{env.RELEASE_BUCKET}} --acl public-read |
109 |
| - # env: |
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' |
112 |
| - # if: startsWith(github.ref, 'refs/tags/') |
113 |
| - # run: 'python ./ci/sentry-osx.py' |
114 |
| - # env: |
115 |
| - # SENTRY_AUTH_TOKEN: ${{secrets.SENTRY_AUTH_TOKEN}} |
116 |
| - # BUILDCONFIG: ${{matrix.BuildConfig}} |
| 94 | + - name: Tar artifact for deployment |
| 95 | + if: startsWith(github.ref, 'refs/tags/') |
| 96 | + run: tar -cvzf ${{env.TARGET_ARTIFACT}}.tar.gz -C ${{env.SLFullDistributePath}} ${{env.InstallPath}} |
| 97 | + env: |
| 98 | + TARGET_ARTIFACT: ${{env.PACKAGE_NAME}}-${{ steps.get_version.outputs.VERSION }}-${{matrix.ReleaseName}}-${{env.OS_TAG}}-${{matrix.Architecture}} |
| 99 | + - name: Configure AWS credentials |
| 100 | + if: startsWith(github.ref, 'refs/tags/') |
| 101 | + uses: aws-actions/configure-aws-credentials@v1 |
| 102 | + with: |
| 103 | + aws-access-key-id: ${{secrets.AWS_RELEASE_ACCESS_KEY_ID}} |
| 104 | + aws-secret-access-key: ${{secrets.AWS_RELEASE_SECRET_ACCESS_KEY}} |
| 105 | + aws-region: us-west-2 |
| 106 | + - name: Deploy |
| 107 | + if: startsWith(github.ref, 'refs/tags/') |
| 108 | + run: aws s3 cp ${{env.TARGET_ARTIFACT}}.tar.gz s3://${{env.RELEASE_BUCKET}} --acl public-read |
| 109 | + env: |
| 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' |
| 112 | + if: startsWith(github.ref, 'refs/tags/') |
| 113 | + run: 'python ./ci/sentry-osx.py' |
| 114 | + env: |
| 115 | + SENTRY_AUTH_TOKEN: ${{secrets.SENTRY_AUTH_TOKEN}} |
| 116 | + BUILDCONFIG: ${{matrix.BuildConfig}} |
117 | 117 |
|
118 | 118 | win64:
|
119 | 119 | name: 'Windows 64-bit'
|
|
0 commit comments