Adding Menu options #91
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: Linux Build | |
on: | |
push: | |
branches: [ master ] | |
paths: | |
- ".github/workflows/linux_build.yml" | |
- "include/**" | |
- "src/**" | |
- "tests/**" | |
- "CMakeLists.txt" | |
pull_request: | |
branches: [ master ] | |
paths: | |
- ".github/workflows/linux_build.yml" | |
- "include/**" | |
- "src/**" | |
- "tests/**" | |
- "CMakeLists.txt" | |
jobs: | |
build: | |
name: ${{matrix.cxx}} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
cxx: | |
- g++-10 | |
- clang++-12 | |
include: | |
- cxx: g++-10 | |
compiler: g++-10 | |
- cxx: clang++-12 | |
compiler: clang++-12 | |
env: | |
CXX: ${{matrix.cxx}} | |
CMAKE_PREFIX_PATH: ${{github.workspace}}/.local | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Boost | |
run: sudo apt-get install -y ${{matrix.compiler}} libboost-all-dev | |
- name: Configure CMake | |
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release | |
- name: Build | |
run: cmake --build build --parallel | |
- name: Test | |
run: pushd build && cmake .. -DQUICK_FTXUI_TESTS=ON && cmake --build . --parallel && ctest -C Release && popd | |
- name: Install | |
run: cmake --install build --prefix $CMAKE_PREFIX_PATH |