From 94a6e0e29b5d9caaab575f65c6f68dc2bcf54f0e Mon Sep 17 00:00:00 2001 From: Aleksandr Voitenko Date: Mon, 21 Oct 2024 14:23:32 +0100 Subject: [PATCH] Disabled MacOS build --- .github/workflows/main.yml | 170 ++++++++++++++++++------------------- 1 file changed, 85 insertions(+), 85 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e18c8f671..823a1d57f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,93 +27,93 @@ env: jobs: macos64: - name: 'macOS' - runs-on: ${{ matrix.image }} - strategy: - matrix: - BuildReleases: [Release-x86_64, Release-arm64] - include: - - BuildReleases: Release-x86_64 - image: macos-13 - BuildConfig: RelWithDebInfo - ReleaseName: release - Architecture: x86_64 - - BuildReleases: Release-arm64 - image: macos-14 - BuildConfig: RelWithDebInfo - ReleaseName: release - Architecture: arm64 - env: - OS_TAG: "osx" - steps: - - name: 'Checkout' - uses: actions/checkout@v3 - with: - submodules: 'recursive' - - name: Get the version - id: get_version - run: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT - shell: bash - - name: Install Node.js - uses: actions/setup-node@v3 - with: - node-version: '18.x' - - name: Install dependencies - shell: bash - run: './ci/install-dependencies-osx.sh' - - name: 'Configure obs-studio-node' - shell: bash - run: './ci/configure-osn-osx.sh' - env: - BUILD_CONFIG: ${{matrix.BuildConfig}} - RELEASE_NAME: ${{matrix.ReleaseName}} - ARCHITECTURE: ${{matrix.Architecture}} - tagartifact: ${{ steps.get_version.outputs.VERSION }} - - name: 'Build obs-studio-node' - run: ./ci/build-osn-osx.sh - shell: bash - env: - BUILD_CONFIG: ${{matrix.BuildConfig}} - SENTRY_AUTH_TOKEN: ${{secrets.SENTRY_AUTH_TOKEN}} - - name: Put version into package.json - if: startsWith(github.ref, 'refs/tags/') - run: node ci/bump-version.js "${{ steps.get_version.outputs.VERSION }}" "${{env.PACKAGE_PATH}}" - env: - PACKAGE_PATH: "${{env.SLFullDistributePath}}/${{env.InstallPath}}" - - name: 'Run tests' - continue-on-error: true - run: 'yarn run test' - env: - SLOBS_BE_STREAMKEY: ${{secrets.testsStreamKey}} - SLOBS_TEST_USER_POOL_TOKEN: ${{secrets.testsUserPoolToken}} + # name: 'macOS' + # runs-on: ${{ matrix.image }} + # strategy: + # matrix: + # BuildReleases: [Release-x86_64, Release-arm64] + # include: + # - BuildReleases: Release-x86_64 + # image: macos-13 + # BuildConfig: RelWithDebInfo + # ReleaseName: release + # Architecture: x86_64 + # - BuildReleases: Release-arm64 + # image: macos-14 + # BuildConfig: RelWithDebInfo + # ReleaseName: release + # Architecture: arm64 + # env: + # OS_TAG: "osx" + # steps: + # - name: 'Checkout' + # uses: actions/checkout@v3 + # with: + # submodules: 'recursive' + # - name: Get the version + # id: get_version + # run: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT + # shell: bash + # - name: Install Node.js + # uses: actions/setup-node@v3 + # with: + # node-version: '18.x' + # - name: Install dependencies + # shell: bash + # run: './ci/install-dependencies-osx.sh' + # - name: 'Configure obs-studio-node' + # shell: bash + # run: './ci/configure-osn-osx.sh' + # env: + # BUILD_CONFIG: ${{matrix.BuildConfig}} + # RELEASE_NAME: ${{matrix.ReleaseName}} + # ARCHITECTURE: ${{matrix.Architecture}} + # tagartifact: ${{ steps.get_version.outputs.VERSION }} + # - name: 'Build obs-studio-node' + # run: ./ci/build-osn-osx.sh + # shell: bash + # env: + # BUILD_CONFIG: ${{matrix.BuildConfig}} + # SENTRY_AUTH_TOKEN: ${{secrets.SENTRY_AUTH_TOKEN}} + # - name: Put version into package.json + # if: startsWith(github.ref, 'refs/tags/') + # run: node ci/bump-version.js "${{ steps.get_version.outputs.VERSION }}" "${{env.PACKAGE_PATH}}" + # env: + # PACKAGE_PATH: "${{env.SLFullDistributePath}}/${{env.InstallPath}}" + # - name: 'Run tests' + # continue-on-error: true + # run: 'yarn run test' + # env: + # SLOBS_BE_STREAMKEY: ${{secrets.testsStreamKey}} + # SLOBS_TEST_USER_POOL_TOKEN: ${{secrets.testsUserPoolToken}} - OSN_ACCESS_KEY_ID: ${{secrets.AWS_RELEASE_ACCESS_KEY_ID}} - OSN_SECRET_ACCESS_KEY: ${{secrets.AWS_RELEASE_SECRET_ACCESS_KEY}} - RELEASE_NAME: ${{matrix.ReleaseName}} + # OSN_ACCESS_KEY_ID: ${{secrets.AWS_RELEASE_ACCESS_KEY_ID}} + # OSN_SECRET_ACCESS_KEY: ${{secrets.AWS_RELEASE_SECRET_ACCESS_KEY}} + # RELEASE_NAME: ${{matrix.ReleaseName}} - - name: Tar artifact for deployment - if: startsWith(github.ref, 'refs/tags/') - run: tar -cvzf ${{env.TARGET_ARTIFACT}}.tar.gz -C ${{env.SLFullDistributePath}} ${{env.InstallPath}} - env: - TARGET_ARTIFACT: ${{env.PACKAGE_NAME}}-${{ steps.get_version.outputs.VERSION }}-${{matrix.ReleaseName}}-${{env.OS_TAG}}-${{matrix.Architecture}} - - name: Configure AWS credentials - if: startsWith(github.ref, 'refs/tags/') - uses: aws-actions/configure-aws-credentials@v1 - with: - aws-access-key-id: ${{secrets.AWS_RELEASE_ACCESS_KEY_ID}} - aws-secret-access-key: ${{secrets.AWS_RELEASE_SECRET_ACCESS_KEY}} - aws-region: us-west-2 - - name: Deploy - if: startsWith(github.ref, 'refs/tags/') - run: aws s3 cp ${{env.TARGET_ARTIFACT}}.tar.gz s3://${{env.RELEASE_BUCKET}} --acl public-read - env: - TARGET_ARTIFACT: ${{env.PACKAGE_NAME}}-${{ steps.get_version.outputs.VERSION }}-${{matrix.ReleaseName}}-${{env.OS_TAG}}-${{matrix.Architecture}} - - name: 'Upload debug files to Sentry' - if: startsWith(github.ref, 'refs/tags/') - run: 'python ./ci/sentry-osx.py' - env: - SENTRY_AUTH_TOKEN: ${{secrets.SENTRY_AUTH_TOKEN}} - BUILDCONFIG: ${{matrix.BuildConfig}} + # - name: Tar artifact for deployment + # if: startsWith(github.ref, 'refs/tags/') + # run: tar -cvzf ${{env.TARGET_ARTIFACT}}.tar.gz -C ${{env.SLFullDistributePath}} ${{env.InstallPath}} + # env: + # TARGET_ARTIFACT: ${{env.PACKAGE_NAME}}-${{ steps.get_version.outputs.VERSION }}-${{matrix.ReleaseName}}-${{env.OS_TAG}}-${{matrix.Architecture}} + # - name: Configure AWS credentials + # if: startsWith(github.ref, 'refs/tags/') + # uses: aws-actions/configure-aws-credentials@v1 + # with: + # aws-access-key-id: ${{secrets.AWS_RELEASE_ACCESS_KEY_ID}} + # aws-secret-access-key: ${{secrets.AWS_RELEASE_SECRET_ACCESS_KEY}} + # aws-region: us-west-2 + # - name: Deploy + # if: startsWith(github.ref, 'refs/tags/') + # run: aws s3 cp ${{env.TARGET_ARTIFACT}}.tar.gz s3://${{env.RELEASE_BUCKET}} --acl public-read + # env: + # TARGET_ARTIFACT: ${{env.PACKAGE_NAME}}-${{ steps.get_version.outputs.VERSION }}-${{matrix.ReleaseName}}-${{env.OS_TAG}}-${{matrix.Architecture}} + # - name: 'Upload debug files to Sentry' + # if: startsWith(github.ref, 'refs/tags/') + # run: 'python ./ci/sentry-osx.py' + # env: + # SENTRY_AUTH_TOKEN: ${{secrets.SENTRY_AUTH_TOKEN}} + # BUILDCONFIG: ${{matrix.BuildConfig}} win64: name: 'Windows 64-bit'