From 10abb4b4a5c5af687a243fdcf709da7564430494 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Jos=C3=A9=20Pereira?= Date: Thu, 1 Apr 2021 09:08:05 -0300 Subject: [PATCH] github: workflows: Install gstreamer from pkg for mac build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Patrick José Pereira --- .github/workflows/buildQGCandDeploy.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/buildQGCandDeploy.yml b/.github/workflows/buildQGCandDeploy.yml index 7058689..e0bcc75 100644 --- a/.github/workflows/buildQGCandDeploy.yml +++ b/.github/workflows/buildQGCandDeploy.yml @@ -17,7 +17,8 @@ jobs: strategy: matrix: os: [macos-latest, ubuntu-latest, windows-latest] - #Only running MacOS right now, but we leave this options + gst_version: ["1.18.1"] + #Only running MacOS right now, but we leave this options #for future builds of all distros exclude: - os: ubuntu-latest @@ -55,9 +56,13 @@ jobs: - name: Install Gstreamer run: | - wget --quiet https://qgroundcontrol.s3-us-west-2.amazonaws.com/dependencies/gstreamer-osx-1.18.1.tar.bz2 - sudo tar -zxf gstreamer-osx-1.18.1.tar.bz2 -C /Library/Frameworks - + GST_URL_BASE_PATH="https://gstreamer.freedesktop.org/data/pkg/osx/${{ matrix.gst_version }}" + wget "${GST_URL_BASE_PATH}/gstreamer-1.0-devel-${{ matrix.gst_version }}-x86_64.pkg" + wget "${GST_URL_BASE_PATH}/gstreamer-1.0-${{ matrix.gst_version }}-x86_64.pkg" + for package in *.pkg ; + do sudo installer -verbose -pkg "$package" -target / + done + - name: mkdir directory shadow_build run: mkdir ${{ runner.temp }}/shadow_build_dir