You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
name: Build on Ubuntu
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build_qt:
|
|
|
|
name: With QT GUI
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
# os: [ubuntu-latest, windows-latest, macOS-latest]
|
|
|
|
os: [ubuntu-18.04, ubuntu-20.04]
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
submodules: 'recursive'
|
|
|
|
- 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
|
|
|
|
run: |
|
|
|
|
qmake
|
|
|
|
make -j$(nproc)
|