From a4e7cc546dcd7764bc63e993bb0cb7b72ae962ce Mon Sep 17 00:00:00 2001 From: jlenain Date: Tue, 21 Jan 2025 13:57:25 +0100 Subject: [PATCH] Install system packages on runner before setting up python environment --- .github/workflows/ci.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 35c00672..038478b1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -76,6 +76,17 @@ jobs: shell: bash -leo pipefail {0} steps: + - name: Install dependencies for Qt 5 on Ubuntu + if: matrix.os == 'ubuntu-latest' + run: | + sudo apt-get update + sudo apt-get install freeglut3-dev + + - name: Install dependencies for Qt 5 on macOS + if: matrix.os == 'macos-14' + run: | + brew install freeglut + - uses: actions/checkout@v4 with: fetch-depth: 0 @@ -109,17 +120,6 @@ jobs: # start xvfb in the background sudo /usr/bin/Xvfb $DISPLAY -screen 0 1280x1024x24 & - - name: Install dependencies for Qt 5 on Ubuntu - if: matrix.os == 'ubuntu-latest' - run: | - sudo apt-get update - sudo apt-get install freeglut3-dev - - - name: Install dependencies for Qt 5 on macOS - if: matrix.os == 'macos-14' - run: | - brew install freeglut - - name: Install dependencies env: CTAPIPE_VERSION: ${{ matrix.ctapipe-version }}