Skip to content

Commit

Permalink
Test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
msobo1 committed Oct 16, 2023
1 parent 2376448 commit 74d0709
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions CI/macos/01_install_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ install_cef() {

install_libwebrtc() {
status "Install libwebrtc ${1}"
MOUNT_DIR_="/Volumes/mount_$RANDOM"
if [ "${ARCH}" = "x86_64" ]; then
LIBWEBRTC_ARCH="x64"
else
Expand All @@ -152,12 +151,11 @@ install_libwebrtc() {
step "Bypass the EULA by converting the DMG download to a CDR image"
hdiutil convert libWebRTC_${ARCH}.dmg -format UDTO -o libWebRTC_${ARCH}
step "Mount the CDR image"
hdiutil attach -quiet -nobrowse -noverify libWebRTC_${ARCH}.cdr -mountroot $MOUNT_DIR_
mkdir $MOUNT_DIR_
hdiutil attach -quiet -nobrowse -noverify libWebRTC_${ARCH}.cdr -mountroot ${GITHUB_WORKSPACE}/..
step "Copy to destination..."
mkdir ./libwebrtc_${ARCH}
ls /Volumes
cp -r $MOUNT_DIR_/libWebRTC-${1}-${LIBWEBRTC_ARCH}-Release-H264-OpenSSL_1_1_1n/libwebrtc/* ./libwebrtc_${ARCH} && umount $MOUNT_DIR_/libWebRTC-${1}-${LIBWEBRTC_ARCH}-Release-H264-OpenSSL_1_1_1n
ls /Volumes
cp -r ${GITHUB_WORKSPACE}/../libWebRTC-${1}-${LIBWEBRTC_ARCH}-Release-H264-OpenSSL_1_1_1n/libwebrtc/* ./libwebrtc_${ARCH} && umount ${GITHUB_WORKSPACE}/../libWebRTC-${1}-${LIBWEBRTC_ARCH}-Release-H264-OpenSSL_1_1_1n
}

install_dependencies() {
Expand Down

0 comments on commit 74d0709

Please sign in to comment.