Feat/multitouch clicks (#315) #150
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: Code Quality | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
tags: | |
- v* | |
pull_request: | |
branches: [ master, develop ] | |
env: | |
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) | |
GIT_SUBMODULE_STRATEGY: recursive | |
permissions: | |
contents: write | |
jobs: | |
clang-tidy: | |
name: clang-tidy | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Install Linux dependencies | |
run: sudo apt-get update && sudo apt-get install pkg-config libglew-dev zlib1g-dev libssl-dev libcrypt-dev libcurl4-openssl-dev libgtk-3-dev libfontconfig-dev ninja-build libpulse-dev clang libc++-dev | |
- name: clang-tidy config | |
run: /usr/bin/clang-tidy -dump-config | |
- name: Configure CMake | |
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. | |
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type | |
run: CC=/usr/bin/clang CXX=/usr/bin/clang++ cmake -GNinja -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_SHARED_LIBS=OFF -DAUI_IGNORE_OPENSSL=TRUE -DAUI_INSTALL_RUNTIME_DEPENDENCIES=TRUE -DCMAKE_CXX_CLANG_TIDY=/usr/bin/clang-tidy -DCMAKE_CXX_FLAGS="-stdlib=libc++ -std=c++20" | |
- name: Build project | |
# Build your program with the given configuration | |
run: cmake --build ${{github.workspace}}/build --config RelWithDebInfo | |
# - name: Build AUI tests | |
# # Build your program with the given configuration | |
# run: cmake --build ${{github.workspace}}/build --config RelWithDebInfo --target Tests | |
# - name: Run AUI tests | |
# working-directory: ${{github.workspace}}/build/bin | |
# run: ${{github.workspace}}/build/bin/Tests | |
- name: Pack | |
working-directory: ${{github.workspace}}/build | |
run: cpack . -C RelWithDebInfo | |
- name: Upload | |
uses: actions/upload-artifact@v3 | |
with: | |
path: ${{github.workspace}}/build/*.tar.gz | |
name: ubuntu-latest static Release clang |