mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-05-06 22:35:10 -04:00
CI: Enable GPU priority setting for Windows builds
This commit is contained in:
1
.github/workflows/main.yml
vendored
1
.github/workflows/main.yml
vendored
@@ -29,6 +29,7 @@ env:
|
||||
YOUTUBE_CLIENTID_HASH: ${{ secrets.YOUTUBE_CLIENTID_HASH }}
|
||||
YOUTUBE_SECRET: ${{ secrets.YOUTUBE_SECRET }}
|
||||
YOUTUBE_SECRET_HASH: ${{ secrets.YOUTUBE_SECRET_HASH }}
|
||||
GPU_PRIORITY_VAL: ${{ secrets.GPU_PRIORITY_VAL }}
|
||||
|
||||
concurrency:
|
||||
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
|
||||
|
||||
@@ -83,6 +83,7 @@ function Configure-OBS {
|
||||
"-DYOUTUBE_CLIENTID_HASH=${Env:YOUTUBE_CLIENTID_HASH}",
|
||||
"-DYOUTUBE_SECRET=${Env:YOUTUBE_SECRET}",
|
||||
"-DYOUTUBE_SECRET_HASH=${Env:YOUTUBE_SECRET_HASH}",
|
||||
"-DGPU_PRIORITY_VAL=${Env:GPU_PRIORITY_VAL}",
|
||||
"-DCOPIED_DEPENDENCIES=OFF",
|
||||
"-DCOPY_DEPENDENCIES=ON",
|
||||
"-DBUILD_FOR_DISTRIBUTION=$(if (Test-Path Env:BUILD_FOR_DISTRIBUTION) { "ON" } else { "OFF" })",
|
||||
@@ -109,6 +110,7 @@ function Configure-OBS {
|
||||
"-DYOUTUBE_CLIENTID_HASH=`"${Env:YOUTUBE_CLIENTID_HASH}`"",
|
||||
"-DYOUTUBE_SECRET=`"${Env:YOUTUBE_SECRET}`"",
|
||||
"-DYOUTUBE_SECRET_HASH=`"${Env:YOUTUBE_SECRET_HASH}`"",
|
||||
"-DGPU_PRIORITY_VAL=`"${Env:GPU_PRIORITY_VAL}`"",
|
||||
"-DCOPIED_DEPENDENCIES=OFF",
|
||||
"-DCOPY_DEPENDENCIES=ON",
|
||||
"-DBUILD_FOR_DISTRIBUTION=`"$(if (Test-Path Env:BUILD_FOR_DISTRIBUTION) { "ON" } else { "OFF" })`"",
|
||||
|
||||
Reference in New Issue
Block a user