Browse Source

[gha] separate packages installation process

Due to removal of qt5-default package in Ubuntu 22.04 switching to separate installation process
pull/63/head
R4SAS 2 years ago committed by GitHub
parent
commit
4295abc81d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      .github/workflows/build.yml

12
.github/workflows/build.yml

@ -13,14 +13,18 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
submodules: 'recursive' submodules: 'recursive'
- name: add PPA repository with latest boost - name: Install packages on Ubuntu 20.04
if: matrix.os == 'ubuntu-20.04' if: matrix.os == 'ubuntu-20.04'
run: sudo add-apt-repository ppa:mhier/libboost-latest
- name: install packages
run: | run: |
sudo add-apt-repository ppa:mhier/libboost-latest
sudo apt-get update sudo apt-get update
sudo apt-get install build-essential qt5-default libqt5gui5 libboost1.74-dev libminiupnpc-dev libssl-dev zlib1g-dev 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: | run: |
qmake qmake
make -j$(nproc) make -j$(nproc)

Loading…
Cancel
Save