-
Notifications
You must be signed in to change notification settings - Fork 519
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update target obs version / move to github action to build for win32.
- Loading branch information
Showing
6 changed files
with
67 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
|
||
# This is a basic workflow to help you get started with Actions | ||
|
||
name: CI | ||
|
||
# Controls when the action will run. Triggers the workflow on push or pull request | ||
# events but only for the master branch | ||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
# This workflow contains a single job called "build" | ||
build: | ||
# The type of runner that the job will run on | ||
runs-on: windows-latest | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v2 | ||
|
||
- name: build | ||
run: githubci\build.bat | ||
|
||
- name: Upload a Build Artifact | ||
uses: actions/[email protected] | ||
with: | ||
name: obs-multi-rtmp | ||
path: dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
set OBSBIN_VER=26.1.1 | ||
set OBSSRC_VER=26.1.2 | ||
|
||
curl -o obs-bin-x86.zip "https://cdn-fastly.obsproject.com/downloads/OBS-Studio-%OBSBIN_VER%-Full-x86.zip" | ||
curl -o obs-bin-x64.zip "https://cdn-fastly.obsproject.com/downloads/OBS-Studio-%OBSBIN_VER%-Full-x64.zip" | ||
git clone --depth=1 -b %OBSSRC_VER% "https://github.com/obsproject/obs-studio.git" obs-src | ||
call obs-src\CI\install-qt-win.cmd | ||
cmake -E make_directory obs-bin | ||
pushd obs-bin | ||
cmake -E tar zxf ..\obs-bin-x86.zip | ||
cmake -E tar zxf ..\obs-bin-x64.zip | ||
popd | ||
|
||
set QTDIR32=-DQTDIR="C:/QtDep/5.15.2/msvc2019" | ||
set QTDIR64=-DQTDIR="C:/QtDep/5.15.2/msvc2019_64" | ||
|
||
cmake %QTDIR32% -G "Visual Studio 16 2019" -A Win32 -B build_x86 -S . -DCMAKE_INSTALL_PREFIX=dist | ||
cmake --build build_x86 --config Release | ||
cmake --install build_x86 --config Release | ||
|
||
cmake %QTDIR64% -G "Visual Studio 16 2019" -A x64 -B build_x64 -S . -DCMAKE_INSTALL_PREFIX=dist | ||
cmake --build build_x64 --config Release | ||
cmake --install build_x64 --config Release | ||
|
||
if not exist dist\nul exit /b | ||
pushd dist | ||
cmake -E tar cf ..\release.zip --format=zip . | ||
popd |