From 9d101252cc4183046b3f578889e784a9546326d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Jos=C3=A9=20Pereira?= Date: Thu, 1 Apr 2021 09:21:12 -0300 Subject: [PATCH] github: workflows: Move mac build from matrix to env 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 | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/.github/workflows/buildQGCandDeploy.yml b/.github/workflows/buildQGCandDeploy.yml index 9dc4b89..1cd3bd3 100644 --- a/.github/workflows/buildQGCandDeploy.yml +++ b/.github/workflows/buildQGCandDeploy.yml @@ -13,16 +13,9 @@ env: jobs: build-job: - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [macos-latest, ubuntu-latest, windows-latest] - 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 - - os: windows-latest + runs-on: macos-latest + env: + gst_version: "1.18.1" steps: - name: Checkout repo @@ -56,9 +49,9 @@ jobs: - name: Install Gstreamer run: | - 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" + GST_URL_BASE_PATH="https://gstreamer.freedesktop.org/data/pkg/osx/${{ env.gst_version }}" + wget "${GST_URL_BASE_PATH}/gstreamer-1.0-devel-${{ env.gst_version }}-x86_64.pkg" + wget "${GST_URL_BASE_PATH}/gstreamer-1.0-${{ env.gst_version }}-x86_64.pkg" for package in *.pkg ; do sudo installer -verbose -pkg "$package" -target / done