From 4295abc81d63d87fb24b7b4a53a91a12476b0b56 Mon Sep 17 00:00:00 2001 From: R4SAS Date: Sun, 14 Aug 2022 12:04:23 +0300 Subject: [PATCH] [gha] separate packages installation process Due to removal of qt5-default package in Ubuntu 22.04 switching to separate installation process --- .github/workflows/build.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 82daae9..b45d7b2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,14 +13,18 @@ jobs: - uses: actions/checkout@v2 with: submodules: 'recursive' - - name: add PPA repository with latest boost + - name: Install packages on Ubuntu 20.04 if: matrix.os == 'ubuntu-20.04' - run: sudo add-apt-repository ppa:mhier/libboost-latest - - name: install packages run: | + sudo add-apt-repository ppa:mhier/libboost-latest sudo apt-get update sudo apt-get install build-essential qt5-default libqt5gui5 libboost1.74-dev libminiupnpc-dev libssl-dev zlib1g-dev - - name: build application + - name: Install packages on Ubuntu 22.04 + if: matrix.os == 'ubuntu-22.04' + run: | + sudo apt-get update + sudo apt-get install build-essential qtbase5-dev qt5-qmake libqt5gui5 libboost-dev libminiupnpc-dev libssl-dev zlib1g-dev + - name: Build application run: | qmake make -j$(nproc)