Merge pull request #138 from fuzzylite/fix/trim-source #9
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 Medium Build | |
on: | |
push: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
build_type: [ "release", "debug" ] | |
use_cxx: [ "clang++-15", "g++-13" ] | |
use_cpp98: [ "OFF", "ON" ] | |
use_float: [ "OFF", "ON" ] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Restore cmake dependencies | |
id: cache-restore-cmake-deps | |
uses: actions/cache/restore@v4 | |
with: | |
path: | | |
build/_deps | |
key: ${{ runner.os }}-cmake-deps | |
- name: Building FuzzyLite | |
env: | |
CXX: ${{ matrix.use_cxx }} | |
run: | | |
cmake -B build/ -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DFL_CPP98=${{ matrix.use_cpp98 }} -DFL_USE_FLOAT=${{ matrix.use_float }} . | |
cmake --build build/ --parallel | |
ctest --test-dir build/ |