From 145769970f7362dad83fbfc3181c104d36457ace Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Wed, 24 Feb 2021 13:33:27 +0100 Subject: [PATCH] .github/workflows/ci.yml: Adding support for Ubuntu 20.04 --- .github/workflows/ci.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2cf3fd0..869dcd9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: compile: strategy: matrix: - os: [ ubuntu-18.04, macos-latest, windows-latest ] + os: [ ubuntu-20.04, ubuntu-18.04, macos-latest, windows-latest ] build: [ cli, cli-mt, cli-ansi, cli-ansi-mt, gui, gui-mt ] include: - build: cli @@ -43,7 +43,12 @@ jobs: - name: Qt - Ubuntu if: startsWith(matrix.build, 'gui') && runner.os == 'Linux' shell: bash - run: sudo apt-get install qt5-default=5.9.5+dfsg-0ubuntu2.5 + run: | + if [ "${{matrix.os}}" == "ubuntu-20.04" ]; then + sudo apt-get install qt5-default=5.12.8+dfsg-0ubuntu1 + else : + sudo apt-get install qt5-default=5.9.5+dfsg-0ubuntu2.5 + fi - name: Qt - Windows/Mac if: startsWith(matrix.build, 'gui') && runner.os != 'Linux'