39 lines
732 B
YAML
39 lines
732 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: install Qt
|
|
uses: jurplel/install-qt-action@v2
|
|
with:
|
|
version: '5.15.2'
|
|
host: 'linux'
|
|
target: 'desktop'
|
|
install-deps: 'true'
|
|
modules: 'qtwebengine'
|
|
cached: 'false'
|
|
setup-python: 'true'
|
|
tools: ''
|
|
set-env: 'true'
|
|
tools-only: 'false'
|
|
|
|
- name: Ubuntu and Qt version
|
|
run: |
|
|
cat /etc/issue
|
|
echo number of processors: $(nproc)
|
|
qmake -v
|
|
- name: qmake
|
|
run: qmake qskinny.pro
|
|
- name: make
|
|
run: make -j$(nproc)
|