Skip to content

Improve Android camera, updates, and audio #43

Improve Android camera, updates, and audio

Improve Android camera, updates, and audio #43

name: OBS Plugin Windows
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
build:
name: Build Windows x64 plugin
runs-on: windows-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install OBS Studio
shell: powershell
run: choco install obs-studio -y --no-progress
- name: Install OBS Qt 6 development bundle
shell: powershell
run: |
$url = "https://github.com/obsproject/obs-deps/releases/download/2025-08-23/windows-deps-qt6-2025-08-23-x64.zip"
$archive = "$env:RUNNER_TEMP\obs-qt6.zip"
$destination = "$PWD\.deps\obs-qt6"
Invoke-WebRequest -Uri $url -OutFile $archive
$actual = (Get-FileHash $archive -Algorithm SHA256).Hash.ToLowerInvariant()
$expected = "c62e82483bc7c0bf199e8ac3220c66a85a6e8a0cd69a05b6d44f873b830e415f"
if ($actual -ne $expected) { throw "OBS Qt dependency checksum mismatch" }
Expand-Archive -Path $archive -DestinationPath $destination
"CMAKE_PREFIX_PATH=$destination" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
- name: Build plugin package
shell: cmd
run: |
set OPENSTREAM_SKIP_INSTALL=1
set OPENSTREAM_PLUGIN_PACKAGE_DIR=%CD%\artifacts
call build_plugin.bat
- name: Install Inno Setup
shell: powershell
run: choco install innosetup -y --no-progress
- name: Build plugin installer
shell: powershell
env:
OPENSTREAM_VERSION: ci
run: |
$iscc = "${env:ProgramFiles(x86)}\Inno Setup 6\ISCC.exe"
& $iscc "tools\installer\openstream-beta-obs-plugin.iss" `
"/DPluginDll=$PWD\obs-plugin\build\openstream-beta-obs.dll" `
"/DOutputDir=$PWD\artifacts" `
"/DOutputBaseFilename=openstream-beta-obs-plugin-installer-windows-x64" `
"/DOpenStreamVersion=$env:OPENSTREAM_VERSION"
- name: Upload plugin package and installer
uses: actions/upload-artifact@v4
with:
name: openstream-beta-obs-windows-x64
path: |
artifacts/openstream-beta-obs-windows-x64.zip
artifacts/openstream-beta-obs-plugin-installer-windows-x64.exe
if-no-files-found: error