From a1c4dc7f4477b1a6c44e6230d1b0f27a1edb7c2e Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Thu, 4 Jan 2024 09:17:05 +0100 Subject: [PATCH] wip --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a8a27c10..13148f70 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,6 +13,10 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - name: Install Linux dependencies + if: contains(matrix.os, 'ubuntu') + run: sudo apt-get install libxkbcommon-x11-0 libgl1-mesa-dev mesa-common-dev libglfw3-dev libglu1-mesa-dev + - name: Install Qt uses: jurplel/install-qt-action@v3 with: @@ -20,16 +24,12 @@ jobs: dir: "${{ github.workspace }}/Qt/" cache: true cache-key-prefix: ${{ matrix.qtver }}-${{ matrix.os }} - - - name: Install Linux dependencies - if: ${{ matrix.os == 'ubuntu'}} - run: sudo apt-get install libxkbcommon-x11-0 libgl1-mesa-dev mesa-common-dev libglfw3-dev libglu1-mesa-dev - name: Use MSVC (Windows) uses: ilammy/msvc-dev-cmd@v1 - name: Configure 5.12 - if: "contains( matrix.qtver, '5.12')" + if: contains( matrix.qtver, '5.12') run: | cmake -S . -B build