update windows versions and target windows 10 for Qt6 #128
Workflow file for this run
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
name: Build Linux Qt6 | |
on: | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- '**.md' | |
tags: | |
- '*' | |
pull_request: | |
paths-ignore: | |
- '**.md' | |
jobs: | |
build-linux-qt6: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: ccache | |
uses: hendrikmuhs/ccache-action@v1.2 | |
with: | |
key: build-linux-qt6-release | |
- name: Install Qt | |
uses: jurplel/install-qt-action@v3 | |
with: | |
version: 6.6.2 | |
modules: qt5compat qtmultimedia | |
- name: Install other prerequisites | |
run: | | |
sudo apt update | |
sudo apt install -y enchant-2 libenchant-2-dev libperl-dev | |
- name: Configure CMake | |
run: | | |
cd '${{github.workspace}}' | |
mkdir build | |
cd build | |
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER_LAUNCHER=ccache .. | |
- name: Build | |
run: | | |
cd '${{github.workspace}}' | |
cd build | |
cmake --build . |