Skip to content

Commit

Permalink
Test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
msobo1 committed Oct 18, 2023
1 parent 31d94f5 commit ac5a4c1
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ tags
/repo/
/CI/flatpak/flatpak-github-action-modified-*

*BUILD*
*BUILD*/
UI/webrtcVersion.h
/.vs
/.idea
Expand Down
38 changes: 38 additions & 0 deletions CI/linux/02_build_obs_wrapper.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
log () {
echo "#########################"
echo "$1"
echo "#########################"
}
du -sh ${GITHUB_WORKSPACE}/../*

log "Build Ubuntu ${UBUNTU_VERSION} no-ndi"
${GITHUB_WORKSPACE}/CI/linux/02_build_obs.sh --disable-pipewire --vendor ${VENDOR}

log "Create artifact Ubuntu ${UBUNTU_VERSION} no-ndi"
${GITHUB_WORKSPACE}/CI/linux/03_package_obs.sh --vendor ${VENDOR}

log "Prepare obi-ndi plugin"
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=../install
cmake --install .
cd ..
pushd plugins/obs-ndi
mkdir BUILD
cd BUILD
cmake .. -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DLINUX_PORTABLE=OFF -DUBUNTU_VERSION=${UBUNTU_VERSION}
make -j4
cpack
cd ../release
mv *.deb ../../../package_${{ vendor }}
popd
cd build
rm CMakeCache.txt
cd ..

log "Build Ubuntu ${UBUNTU_VERSION} ndi"
${GITHUB_WORKSPACE}/CI/linux/02_build_obs.sh --disable-pipewire --vendor ${VENDOR} --ndi

log "Create artifact Ubuntu ${UBUNTU_VERSION} no-ndi"
${GITHUB_WORKSPACE}/CI/linux/03_package_obs.sh --vendor ${VENDOR}

log "Done"

0 comments on commit ac5a4c1

Please sign in to comment.