diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fc00a5b3..45469061 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,16 +25,11 @@ jobs: if: runner.os != 'Windows' run: | if [ "${{ runner.os }}" == "macOS" ]; then - brew install cmake ninja + brew install ninja elif [ "${{ runner.os }}" == "Linux" ]; then sudo apt-get update - sudo apt-get install -y cmake build-essential + sudo apt-get install -y build-essential fi - - - name: Set up dependencies for Windows - if: runner.os == 'Windows' - run: | - choco install cmake - name: Run vcpkg uses: lukka/run-vcpkg@v11 @@ -57,6 +52,7 @@ jobs: cmakeListsTxtPath: CMakeLists.txt configurePreset: 'linux-release' buildPreset: 'linux-release' + cmakeVersion: '3.31.6' - name: Configure and build for Windows if: runner.os == 'Windows' @@ -65,6 +61,8 @@ jobs: cmakeListsTxtPath: CMakeLists.txt configurePreset: 'windows-release' buildPreset: 'windows-release' + buildPresetAdditionalArgs: "['--config Release']" + cmakeVersion: '3.31.6' - name: Install and Update PATH (Windows only) if: runner.os == 'Windows' diff --git a/README.md b/README.md index 62d4a0ef..6f5983bf 100755 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ +[![Build/Test](https://github.com/CLOCTools/lds-ctrl-est/actions/workflows/build.yml/badge.svg)](https://github.com/CLOCTools/lds-ctrl-est/actions/workflows/build.yml) +[![Docs](https://github.com/CLOCTools/lds-ctrl-est/actions/workflows/pages/pages-build-deployment/badge.svg)](https://github.com/CLOCTools/lds-ctrl-est/actions/workflows/pages/pages-build-deployment) + # ldsCtrlEst `ldsCtrlEst` is a C++ library for estimation and control of linear dynamical systems (LDS) with Gaussian or Poisson observations. It is meant to provide the functionality necessary to implement feedback control of linear dynamical systems experimentally. This library was originally developed for the task of controlling neuronal activity using spike count data as feedback and optogenetic inputs for control. However, the methods are generally applicable.