CI: Update Linux build scripts to use CMake presets

Also adds source package generation and updates Cirrus CI script.
This commit is contained in:
PatTheMav
2024-04-13 23:48:38 -04:00
committed by Ryan Foster
parent 53c9f79f4d
commit fb4d65875e
18 changed files with 97 additions and 738 deletions
+2 -2
View File
@@ -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'
+2 -2
View File
@@ -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'