1
0
mirror of https://github.com/PurpleI2P/i2pd-qt.git synced 2025-01-08 22:08:05 +00:00
i2pd-qt/.github/workflows/build.yml

31 lines
920 B
YAML
Raw Normal View History

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]
steps:
- uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Install packages on Ubuntu 20.04
2022-08-14 08:51:27 +00:00
if: matrix.os == 'ubuntu-20.04'
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: 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
- name: Build application
run: |
qmake
2021-12-08 17:41:33 +00:00
make -j$(nproc)