mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-27 17:55:42 -04:00
CI: Update Linux build scripts to use CMake presets
Also adds source package generation and updates Cirrus CI script.
This commit is contained in:
@@ -73,12 +73,12 @@ runs:
|
||||
|
||||
local -a build_args=(
|
||||
--config ${{ inputs.config }}
|
||||
--target linux-${{ inputs.target }}
|
||||
--target ubuntu-${{ inputs.target }}
|
||||
)
|
||||
if (( ${+RUNNER_DEBUG} )) build_args+=(--debug)
|
||||
|
||||
git fetch origin --no-tags --no-recurse-submodules -q
|
||||
.github/scripts/build-linux ${build_args}
|
||||
.github/scripts/build-ubuntu ${build_args}
|
||||
|
||||
- name: Run Windows Build
|
||||
if: runner.os == 'Windows'
|
||||
|
||||
@@ -81,14 +81,14 @@ runs:
|
||||
: Run Ubuntu Packaging
|
||||
|
||||
local -a package_args=(
|
||||
--target linux-${{ inputs.target }}
|
||||
--target ubuntu-${{ inputs.target }}
|
||||
--config ${{ inputs.config }}
|
||||
)
|
||||
if (( ${+RUNNER_DEBUG} )) build_args+=(--debug)
|
||||
|
||||
if [[ '${{ inputs.package }}' == true ]] package_args+=(--package)
|
||||
|
||||
${{ inputs.workingDirectory }}/.github/scripts/package-linux ${package_args}
|
||||
${{ inputs.workingDirectory }}/.github/scripts/package-ubuntu ${package_args}
|
||||
|
||||
- name: Run Windows packaging
|
||||
if: runner.os == 'Windows'
|
||||
|
||||
Reference in New Issue
Block a user