mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-14 15:24:07 +00:00
CI: Add support for dependency revisions to Linux CI builds
This commit is contained in:
parent
6fb510c918
commit
773e45bfa9
6
.github/scripts/utils.zsh/setup_linux
vendored
6
.github/scripts/utils.zsh/setup_linux
vendored
|
@ -28,9 +28,9 @@ local deps_baseurl
|
|||
local deps_label
|
||||
local deps_hash
|
||||
|
||||
IFS=';' read -r deps_version deps_baseurl deps_label deps_hash <<< \
|
||||
IFS=';' read -r deps_version deps_baseurl deps_label deps_hash deps_revision <<< \
|
||||
"$(jq -r --arg target "${target}" \
|
||||
'.dependencies["cef"] | {version, baseUrl, "label", "hash": .hashes[$target]} | join(";")' \
|
||||
'.dependencies["cef"] | {version, baseUrl, "label", "hash": .hashes[$target], "revision": .revision[$target]} | join(";")' \
|
||||
${buildspec_file})"
|
||||
|
||||
if (( ! deps_version )) {
|
||||
|
@ -40,7 +40,7 @@ if (( ! deps_version )) {
|
|||
log_group 'Setting up pre-built Chromium Embedded Framework...'
|
||||
|
||||
pushd ${project_root}/.deps
|
||||
local _filename="cef_binary_${deps_version}_${target//-/_}.tar.xz"
|
||||
local _filename="cef_binary_${deps_version}_${target//-/_}${deps_revision:+"_v${deps_revision}"}.tar.xz"
|
||||
local _url=${deps_baseurl}/${_filename}
|
||||
local _target="cef_binary_${deps_version}_${target//-/_}"
|
||||
typeset -g CEF_VERSION=${deps_version}
|
||||
|
|
Loading…
Reference in a new issue