Adding clangd support. Fixing conan config so moth_ui links properly. #131
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 Lib Linux | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Get Conan | |
uses: turtlebrowser/[email protected] | |
- name: Conan setup and install dependencies | |
run: | | |
conan profile detect --force | |
conan config install conan_config | |
conan install . --build=missing --profile linux_profile | |
conan install . --build=missing --profile linux_profile -s build_type=Debug | |
source ./build/Release/generators/conanbuild.sh | |
- name: Configure CMake for release | |
run: cmake --preset conan-release | |
- name: Build Release | |
run: cmake --build --preset conan-release -j | |
- name: Configure CMake for debug | |
run: cmake --preset conan-debug | |
- name: Build Debug | |
run: cmake --build --preset conan-debug -j | |