Removed leaf, porting to std::expected. #55
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 (Tier 2 platforms) | |
on: | |
# Triggers the workflow on push or pull request events but only for the main branch | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
env: | |
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) | |
BUILD_TYPE: RelWithDebInfo | |
jobs: | |
macos-homebrew: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Dependencies | |
run: brew install pkg-config gtkmm3 pcre cmake | |
- name: Create Build Directory | |
run: cmake -E make_directory build | |
- name: Configure CMake | |
shell: bash | |
working-directory: ${{github.workspace}}/build | |
run: > | |
cmake $GITHUB_WORKSPACE | |
-DCMAKE_BUILD_TYPE=$BUILD_TYPE | |
-DAPP_BUILD_EXAMPLES=ON | |
-DAPP_BUILD_TESTS=ON | |
-DAPP_COMPILER_ENABLE_WARNINGS=ON | |
- name: Build | |
shell: bash | |
working-directory: ${{github.workspace}}/build | |
run: cmake --build . --config $BUILD_TYPE | |
- name: Test | |
working-directory: ${{github.workspace}}/build | |
shell: bash | |
run: ctest -C $BUILD_TYPE | |