-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
43 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,12 @@ on: | |
- "!**.md" | ||
- "!**.cmake" | ||
- ".github/**" | ||
pull_request: | ||
paths: | ||
- "src/**" | ||
- "!**.qml" | ||
- "!**.md" | ||
- "!**.cmake" | ||
workflow_dispatch: | ||
|
||
permissions: write-all | ||
|
@@ -17,7 +23,7 @@ jobs: | |
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-20.04] | ||
os: [ubuntu-latest] | ||
qt_ver: [6.6.1] | ||
qt_arch: [gcc_64] | ||
env: | ||
|
@@ -28,23 +34,27 @@ jobs: | |
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
|
||
- name: setup Ninja | ||
uses: ashutoshvarma/[email protected] | ||
with: | ||
version: "1.11.1" | ||
|
||
- name: install GL library (Ubuntu) | ||
run: sudo apt-get install -y libxcb-cursor0 libgl1-mesa-dev libxcb1-dev libgtk-3-dev libxkbcommon-x11-dev libxcb-icccm4-dev libxcb-image0-dev libxcb-keysyms1-dev libxcb-randr0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxcb-xinerama0-dev libxcb-sync-dev libxcb-render-util0-dev libxcb-shm0-dev | ||
|
||
|
||
- name: install Qt | ||
uses: jurplel/install-qt-action@v3 | ||
|
||
with: | ||
version: ${{ matrix.qt_ver }} | ||
cache: ${{ steps.cache-qt.outputs.cache-hit }} | ||
arch: ${{ matrix.qt_arch }} | ||
modules: ${{ env.QT_MODULES }} | ||
|
||
- name: setup Ninja | ||
uses: ashutoshvarma/[email protected] | ||
with: | ||
version: "1.11.1" | ||
|
||
- name: install GL library (Ubuntu) | ||
run: sudo apt-get install -y libxcb-cursor0 libgl1-mesa-dev libxcb1-dev libgtk-3-dev libxkbcommon-x11-dev libxcb-icccm4-dev libxcb-image0-dev libxcb-keysyms1-dev libxcb-randr0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxcb-xinerama0-dev libxcb-sync-dev libxcb-render-util0-dev libxcb-shm0-dev | ||
|
||
- name: ubuntu install libfuse2 | ||
run: sudo apt install libfuse2 | ||
|
||
- name: install Fcitx5 for Qt | ||
run: | | ||
sudo apt-get install -y extra-cmake-modules | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters