docs: README #75
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
# ubuntu.yml | |
name: Ubuntu | |
# Qt官方没有linux平台的x86包 | |
on: | |
push: | |
paths-ignore: | |
- 'README.md' | |
- 'LICENSE' | |
pull_request: | |
paths-ignore: | |
- 'README.md' | |
- 'LICENSE' | |
jobs: | |
build: | |
name: Build | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: # 矩阵配置 | |
qt_ver: [5.15.2] # 参考: https://mirrors.cloud.tencent.com/qt/online/qtsdkrepository/linux_x64/desktop/qt5_51211 | |
qt_target: [desktop] | |
qt_arch: [gcc_64] | |
arch: [arm64, amd64] | |
os: [ubuntu-20.04] # ubuntu-18.04 | |
steps: | |
- name: Install Qt | |
uses: jurplel/install-qt-action@v3 | |
with: | |
version: ${{ matrix.qt_ver }} | |
- name: ubuntu install GL library | |
run: sudo apt-get install -y libglew-dev libglfw3-dev | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 1 | |
- name: build ubuntu | |
run: | | |
qmake | |
make |