mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-11-15 13:15:43 +08:00
42 lines
842 B
YAML
42 lines
842 B
YAML
name: linux-builds
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-20.04, ubuntu-18.04]
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: install qt
|
|
run: |
|
|
sudo apt-get update --fix-missing
|
|
sudo apt-get install qt5-default
|
|
sudo apt-get install qtbase5-private-dev
|
|
- name: qmake
|
|
run: qmake
|
|
- name: make
|
|
run: make -j4
|
|
|
|
build_ubuntu_2204:
|
|
runs-on: ubuntu-22.04
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Install Qt
|
|
uses: jurplel/install-qt-action@v2
|
|
with:
|
|
version: 6.2.*
|
|
host: linux
|
|
target: desktop
|
|
archives: 'qtbase qtsvg'
|
|
setup-python: false
|
|
- name: qmake
|
|
run: qmake
|
|
- name: make
|
|
run: make -j4
|