CI: run builds and clang-format check #2
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: Automatic build | |
on: | |
push: | |
branches: | |
- '**' | |
pull_request: | |
branches: | |
- '**' | |
release: | |
types: [ created ] | |
env: | |
BUILD_TYPE: Release | |
jobs: | |
Linux_Qt6: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install base dependencies | |
run: | | |
sudo apt update | |
sudo apt install cmake make pkg-config libx11-dev xcb libx11-xcb-dev libxkbcommon-dev | |
- name: Install Qt | |
uses: jurplel/install-qt-action@v3 | |
with: | |
version: 6.5.2 | |
- name: Build | |
run: | | |
mkdir build | |
cd build | |
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DUSE_QT6=ON | |
make -j4 |