add force usage of cpu instructions, update GH actions

This commit is contained in:
R4SAS 2020-11-13 17:26:15 +03:00
parent faf04def31
commit ee8d5e9a0c
10 changed files with 51 additions and 37 deletions

View file

@ -2,10 +2,12 @@ name: Build on Ubuntu
on: [push, pull_request]
defaults:
runs-on: ubuntu-16.04
jobs:
build:
name: With USE_UPNP=${{ matrix.with_upnp }}
runs-on: ubuntu-16.04
strategy:
fail-fast: true
matrix:
@ -18,4 +20,19 @@ jobs:
sudo apt-get update
sudo apt-get install build-essential libboost1.74-dev libminiupnpc-dev libssl-dev zlib1g-dev
- name: build application
run: make USE_AESNI=no USE_UPNP=${{ matrix.with_upnp }} -j3
run: make USE_UPNP=${{ matrix.with_upnp }} -j3
build_qt:
name: With QT GUI
steps:
- uses: actions/checkout@v2
- 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: |
cd qt/i2pd_qt
qmake
make -j3