Skip to content

Commit

Permalink
Disabled MacOS build
Browse files Browse the repository at this point in the history
  • Loading branch information
avoitenko-logitech committed Oct 16, 2024
1 parent 9fa9029 commit 7e7383b
Show file tree
Hide file tree
Showing 2 changed files with 327 additions and 327 deletions.
156 changes: 78 additions & 78 deletions .github/workflows/main-streamlabs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,87 +19,87 @@ env:
PACKAGE_NAME: "libobs"

jobs:
macos64:
name: 'macOS'
runs-on: [macos-13]
strategy:
matrix:
arch: ['x86_64', 'arm64']
ReleaseName: [release, debug]
include:
- ReleaseName: release
BUILD_CONFIG: RelWithDebInfo
- ReleaseName: debug
BUILD_CONFIG: Debug
env:
OS_TAG: "osx"
MACOSX_DEPLOYMENT_TARGET_X86_64: '10.15'
MACOSX_DEPLOYMENT_TARGET_ARM64: '11.0'
CEF_BUILD_VERSION_MAC: '5060'
CEF_BUILD_REVISION_MAC: 'v4'
DEPS_VERSION_MAC: '2023-08-31sl1'
QT_DEPS_VERSION_MAC: '20c82a4193784cb321061394789c6d04aabb85e5'
VLC_VERSION_MAC: '3.0.8'
QT_VERSION_MAC: '6.3.1'
SPARKLE_VERSION: '1.26.0'
WEBRTC_VERSION_MAC: 'm94-b240115'
LIBMEDIASOUPCLIENT_VERSION_MAC: '0b76859-b240116'
# macos64:
# name: 'macOS'
# runs-on: [macos-13]
# strategy:
# matrix:
# arch: ['x86_64', 'arm64']
# ReleaseName: [release, debug]
# include:
# - ReleaseName: release
# BUILD_CONFIG: RelWithDebInfo
# - ReleaseName: debug
# BUILD_CONFIG: Debug
# env:
# OS_TAG: "osx"
# MACOSX_DEPLOYMENT_TARGET_X86_64: '10.15'
# MACOSX_DEPLOYMENT_TARGET_ARM64: '11.0'
# CEF_BUILD_VERSION_MAC: '5060'
# CEF_BUILD_REVISION_MAC: 'v4'
# DEPS_VERSION_MAC: '2023-08-31sl1'
# QT_DEPS_VERSION_MAC: '20c82a4193784cb321061394789c6d04aabb85e5'
# VLC_VERSION_MAC: '3.0.8'
# QT_VERSION_MAC: '6.3.1'
# SPARKLE_VERSION: '1.26.0'
# WEBRTC_VERSION_MAC: 'm94-b240115'
# LIBMEDIASOUPCLIENT_VERSION_MAC: '0b76859-b240116'

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: 'Setup build environment'
id: setup
run: |
REMOVE_FORMULAS=""
for FORMULA in ${{ env.BLOCKED_FORMULAS }}; do
if [ -d "/usr/local/opt/${FORMULA}" ]; then
REMOVE_FORMULAS="${REMOVE_FORMULAS}${FORMULA} "
fi
done
# 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: 'Setup build environment'
# id: setup
# run: |
# REMOVE_FORMULAS=""
# for FORMULA in ${{ env.BLOCKED_FORMULAS }}; do
# if [ -d "/usr/local/opt/${FORMULA}" ]; then
# REMOVE_FORMULAS="${REMOVE_FORMULAS}${FORMULA} "
# fi
# done

if [ -n "${REMOVE_FORMULAS}" ]; then
brew uninstall ${REMOVE_FORMULAS}
fi
# if [ -n "${REMOVE_FORMULAS}" ]; then
# brew uninstall ${REMOVE_FORMULAS}
# fi

echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT
sudo xcode-select --switch /Applications/Xcode_15.1.app/Contents/Developer
- name: Configure / Build
run: ./slobs_CI/build-script-osx.sh
env:
ReleaseName: ${{matrix.ReleaseName}}
BuildConfig: ${{matrix.BuildConfig}}
CefBuildConfig: ${{matrix.CefBuildConfig}}
ARCH: ${{matrix.arch}}
- name: Tar artifact for deployment
if: startsWith(github.ref, 'refs/tags/')
run: cd ${{env.InstallPath}} && 7z a -r ../${{env.TARGET_ARTIFACT}}.7z *
env:
TARGET_ARTIFACT: ${{env.PACKAGE_NAME}}-${{env.OS_TAG}}-${{matrix.ReleaseName}}-${{ steps.get_version.outputs.VERSION }}-${{ matrix.arch }}
- name: Configure AWS credentials
if: startsWith(github.ref, 'refs/tags/')
uses: aws-actions/configure-aws-credentials@v2
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}}.7z s3://${{env.RELEASE_BUCKET}} --acl public-read
env:
TARGET_ARTIFACT: ${{env.PACKAGE_NAME}}-${{env.OS_TAG}}-${{matrix.ReleaseName}}-${{ steps.get_version.outputs.VERSION }}-${{ matrix.arch }}
- name: 'Upload debug files to Sentry'
if: startsWith(github.ref, 'refs/tags/')
run: 'python ./slobs_CI/sentry-osx.py'
env:
SENTRY_AUTH_TOKEN: ${{secrets.SENTRY_AUTH_TOKEN}}
BUILDCONFIG: ${{matrix.BuildConfig}}
# echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT
# sudo xcode-select --switch /Applications/Xcode_15.1.app/Contents/Developer
# - name: Configure / Build
# run: ./slobs_CI/build-script-osx.sh
# env:
# ReleaseName: ${{matrix.ReleaseName}}
# BuildConfig: ${{matrix.BuildConfig}}
# CefBuildConfig: ${{matrix.CefBuildConfig}}
# ARCH: ${{matrix.arch}}
# - name: Tar artifact for deployment
# if: startsWith(github.ref, 'refs/tags/')
# run: cd ${{env.InstallPath}} && 7z a -r ../${{env.TARGET_ARTIFACT}}.7z *
# env:
# TARGET_ARTIFACT: ${{env.PACKAGE_NAME}}-${{env.OS_TAG}}-${{matrix.ReleaseName}}-${{ steps.get_version.outputs.VERSION }}-${{ matrix.arch }}
# - name: Configure AWS credentials
# if: startsWith(github.ref, 'refs/tags/')
# uses: aws-actions/configure-aws-credentials@v2
# 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}}.7z s3://${{env.RELEASE_BUCKET}} --acl public-read
# env:
# TARGET_ARTIFACT: ${{env.PACKAGE_NAME}}-${{env.OS_TAG}}-${{matrix.ReleaseName}}-${{ steps.get_version.outputs.VERSION }}-${{ matrix.arch }}
# - name: 'Upload debug files to Sentry'
# if: startsWith(github.ref, 'refs/tags/')
# run: 'python ./slobs_CI/sentry-osx.py'
# env:
# SENTRY_AUTH_TOKEN: ${{secrets.SENTRY_AUTH_TOKEN}}
# BUILDCONFIG: ${{matrix.BuildConfig}}

win64:
name: 'Windows 64-bit'
Expand Down
Loading

0 comments on commit 7e7383b

Please sign in to comment.