From 31d78de673f68873b427b287e2eee728de34b1d9 Mon Sep 17 00:00:00 2001 From: Sameer Khan <94801110+khansameer25@users.noreply.github.com> Date: Sat, 15 Mar 2025 18:32:00 -0400 Subject: [PATCH 1/3] Update build.yml --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fc00a5b3..36710c8c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,4 @@ -name: Build and Test ldsCtrlEst +name: Build/Test on: push: @@ -65,6 +65,7 @@ jobs: cmakeListsTxtPath: CMakeLists.txt configurePreset: 'windows-release' buildPreset: 'windows-release' + buildPresetAdditionalArgs: "['--config Release']" - name: Install and Update PATH (Windows only) if: runner.os == 'Windows' From dad78d8adac5a8084ecec391cfff58dcefae3e42 Mon Sep 17 00:00:00 2001 From: Sameer Khan <94801110+khansameer25@users.noreply.github.com> Date: Sat, 15 Mar 2025 18:36:03 -0400 Subject: [PATCH 2/3] Update README.md with badges --- README.md | 3 +++ 1 file changed, 3 insertions(+) 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. From 45f66937d0bc41af6c4e7d373565baa7f6462622 Mon Sep 17 00:00:00 2001 From: Sameer Khan <94801110+khansameer25@users.noreply.github.com> Date: Fri, 4 Apr 2025 17:11:16 -0400 Subject: [PATCH 3/3] Reverted to working CMake version --- .github/workflows/build.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 36710c8c..45469061 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,4 @@ -name: Build/Test +name: Build and Test ldsCtrlEst on: push: @@ -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' @@ -66,6 +62,7 @@ jobs: configurePreset: 'windows-release' buildPreset: 'windows-release' buildPresetAdditionalArgs: "['--config Release']" + cmakeVersion: '3.31.6' - name: Install and Update PATH (Windows only) if: runner.os == 'Windows'