From 74d07098e1c3bd8321feea637648da8a0b7d5269 Mon Sep 17 00:00:00 2001 From: Marek Sobolak Date: Mon, 16 Oct 2023 17:06:16 +0200 Subject: [PATCH] Test matrix --- CI/macos/01_install_dependencies.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/CI/macos/01_install_dependencies.sh b/CI/macos/01_install_dependencies.sh index 20b45e088..cf28ba980 100755 --- a/CI/macos/01_install_dependencies.sh +++ b/CI/macos/01_install_dependencies.sh @@ -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 @@ -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() {