mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-11-15 21:25:44 +08:00
Update linux-builds.yml
This commit is contained in:
parent
d8784a22b7
commit
54c2bd0c30
34
.github/workflows/linux-builds.yml
vendored
34
.github/workflows/linux-builds.yml
vendored
@ -24,18 +24,36 @@ jobs:
|
|||||||
|
|
||||||
build_ubuntu_2204:
|
build_ubuntu_2204:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
|
- name: Cache Qt
|
||||||
|
id: cache-qt-6-4
|
||||||
|
uses: actions/cache@v1 # not v2!
|
||||||
|
with:
|
||||||
|
path: ../Qt/6.4.2
|
||||||
|
key: ${{ runner.os }}-QtCache-Qt6-4
|
||||||
|
|
||||||
- name: Install Qt
|
- name: Install Qt
|
||||||
uses: jurplel/install-qt-action@v2
|
uses: jurplel/install-qt-action@v2
|
||||||
with:
|
with:
|
||||||
version: 6.2.*
|
version: 6.4.2
|
||||||
host: linux
|
host: linux
|
||||||
target: desktop
|
target: desktop
|
||||||
archives: qtbase qtsvg
|
install-deps: true
|
||||||
setup-python: false
|
cached: ${{ steps.cache-qt-6-4.outputs.cache-hit }}
|
||||||
|
setup-python: false
|
||||||
|
tools: ''
|
||||||
|
tools-only: false
|
||||||
|
|
||||||
|
- name: Install needed xkbcommon symlink
|
||||||
|
run: sudo apt-get install libxkbcommon-dev -y
|
||||||
|
|
||||||
|
- name: Ubuntu and Qt version
|
||||||
|
run: |
|
||||||
|
cat /etc/issue
|
||||||
|
echo number of processors: $(nproc)
|
||||||
|
qmake -v
|
||||||
- name: qmake
|
- name: qmake
|
||||||
run: qmake
|
run: qmake
|
||||||
- name: make
|
- name: make
|
||||||
run: make -j4
|
run: make -j$(nproc)
|
||||||
|
Loading…
Reference in New Issue
Block a user