Skip to content

Enhance/skmeans convergence #542

Enhance/skmeans convergence

Enhance/skmeans convergence #542

Workflow file for this run

name: Flucoma Core CI
on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, windows-2019, macOS-latest]
fail-fast: false
steps:
- uses: actions/checkout@v3
# - name: Cache Build Folder
# uses: actions/cache@v2
# with:
# path: ${{github.workspace}}/build
# key: ${{ runner.os }}-buildcache
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DFLUCOMA_TESTS=On -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Test
working-directory: ${{github.workspace}}/build
run: ctest -C ${{env.BUILD_TYPE}} --output-on-failure