2019-12-02 14:45:03 +08:00
|
|
|
name: linux-builds
|
2019-11-30 05:29:49 +08:00
|
|
|
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2019-12-02 15:19:11 +08:00
|
|
|
strategy:
|
|
|
|
matrix:
|
2021-10-05 12:56:51 +08:00
|
|
|
os: [ubuntu-latest, ubuntu-20.04, ubuntu-18.04]
|
2019-11-30 05:29:49 +08:00
|
|
|
|
2019-12-02 15:19:11 +08:00
|
|
|
runs-on: ${{ matrix.os }}
|
2019-11-30 05:29:49 +08:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
2019-11-30 05:44:07 +08:00
|
|
|
- name: install qt
|
2019-12-02 15:10:23 +08:00
|
|
|
run: |
|
2019-12-02 15:11:49 +08:00
|
|
|
sudo apt-get update --fix-missing
|
2019-12-02 15:10:58 +08:00
|
|
|
sudo apt-get install qt5-default
|
2021-07-17 20:52:09 +08:00
|
|
|
sudo apt-get install qtbase5-private-dev
|
2019-11-30 05:39:07 +08:00
|
|
|
- name: qmake
|
|
|
|
run: qmake
|
2019-11-30 05:29:49 +08:00
|
|
|
- name: make
|
2019-11-30 06:04:35 +08:00
|
|
|
run: make -j4
|