2021-02-10 15:14:54 +00:00
|
|
|
name: Build on Ubuntu
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build_qt:
|
|
|
|
name: With QT GUI
|
2021-12-08 17:41:33 +00:00
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2022-08-14 08:42:49 +00:00
|
|
|
os: [ubuntu-20.04, ubuntu-22.04]
|
2021-02-10 15:14:54 +00:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2021-02-10 15:18:10 +00:00
|
|
|
with:
|
|
|
|
submodules: 'recursive'
|
2022-08-14 09:04:23 +00:00
|
|
|
- name: Install packages on Ubuntu 20.04
|
2022-08-14 08:51:27 +00:00
|
|
|
if: matrix.os == 'ubuntu-20.04'
|
2021-02-10 15:14:54 +00:00
|
|
|
run: |
|
2022-08-14 09:04:23 +00:00
|
|
|
sudo add-apt-repository ppa:mhier/libboost-latest
|
2021-02-10 15:14:54 +00:00
|
|
|
sudo apt-get update
|
|
|
|
sudo apt-get install build-essential qt5-default libqt5gui5 libboost1.74-dev libminiupnpc-dev libssl-dev zlib1g-dev
|
2022-08-14 09:04:23 +00:00
|
|
|
- name: Install packages on Ubuntu 22.04
|
|
|
|
if: matrix.os == 'ubuntu-22.04'
|
|
|
|
run: |
|
|
|
|
sudo apt-get update
|
2022-08-14 09:11:52 +00:00
|
|
|
sudo apt-get install build-essential qtbase5-dev qt5-qmake libqt5gui5 libboost-all-dev libminiupnpc-dev libssl-dev zlib1g-dev
|
2022-08-14 09:04:23 +00:00
|
|
|
- name: Build application
|
2021-02-10 15:14:54 +00:00
|
|
|
run: |
|
|
|
|
qmake
|
2021-12-08 17:41:33 +00:00
|
|
|
make -j$(nproc)
|