Skip to content

Commit b02a32c

Browse files
committed
ci: Apply version suffix to macOS builds
1 parent ce31ed1 commit b02a32c

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

.github/workflows/main.yml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -444,12 +444,12 @@ jobs:
444444
mkdir -p ./build
445445
cd ./build
446446
cmake .. \
447-
-DQTDIR=${{ github.workspace }}/obsdeps \
448-
-DDepsPath=${{ github.workspace }}/obsdeps \
449-
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.13 \
450-
-DDISABLE_PLUGINS=true \
451-
-DENABLE_SCRIPTING=0 \
452-
-DCMAKE_PREFIX_PATH=${{ github.workspace }}/obsdeps/lib/cmake
447+
-DQTDIR=${{ github.workspace }}/obsdeps \
448+
-DDepsPath=${{ github.workspace }}/obsdeps \
449+
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.13 \
450+
-DDISABLE_PLUGINS=true \
451+
-DENABLE_SCRIPTING=0 \
452+
-DCMAKE_PREFIX_PATH=${{ github.workspace }}/obsdeps/lib/cmake
453453
- name: 'Build OBS Studio'
454454
if: steps.cache-obs-build.outputs.cache-hit != 'true'
455455
working-directory: ${{ github.workspace }}/obs-studio/build
@@ -464,13 +464,14 @@ jobs:
464464
mkdir -p build
465465
cd build
466466
cmake .. \
467-
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.13 \
468-
-DQTDIR=${{ github.workspace }}/obsdeps \
469-
-DLIBOBS_INCLUDE_DIR=${{ github.workspace }}/obs-studio/libobs \
470-
-DLIBOBS_LIB=${{ github.workspace }}/obs-studio/libobs \
471-
-DOBS_FRONTEND_LIB="${{ github.workspace }}/obs-studio/build/UI/obs-frontend-api/libobs-frontend-api.dylib" \
472-
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
473-
-DCMAKE_INSTALL_PREFIX=/usr
467+
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.13 \
468+
-DQTDIR=${{ github.workspace }}/obsdeps \
469+
-DLIBOBS_INCLUDE_DIR=${{ github.workspace }}/obs-studio/libobs \
470+
-DLIBOBS_LIB=${{ github.workspace }}/obs-studio/libobs \
471+
-DOBS_FRONTEND_LIB="${{ github.workspace }}/obs-studio/build/UI/obs-frontend-api/libobs-frontend-api.dylib" \
472+
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
473+
-DCMAKE_INSTALL_PREFIX=/usr \
474+
-DOBS_WEBSOCKET_VERSION_SUFFIX="${{ env.CMAKE_VERSION_SUFFIX }}"
474475
- name: 'Build obs-websocket'
475476
working-directory: ${{ github.workspace }}/obs-websocket/build
476477
shell: bash

0 commit comments

Comments
 (0)