Qt-Advanced-Docking-System/.github/workflows/linux-builds.yml

42 lines
840 B
YAML
Raw Normal View History

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:
os: [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
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
build_ubuntu_2204:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v1
2023-02-10 20:58:03 +08:00
- name: Install Qt
uses: jurplel/install-qt-action@v2
with:
version: 6.2.*
host: linux
target: desktop
2023-02-10 21:09:02 +08:00
archives: qtbase qtsvg
2023-02-10 20:58:03 +08:00
setup-python: false
- name: qmake
run: qmake
- name: make
run: make -j4