Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
interval: "weekly"
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,12 @@ jobs:
python-version: ${{ matrix.python-version }}
- run: python -m pip install crocoddyl[build] proxsuite[build]
- run: echo "CMAKE_PREFIX_PATH=$(cmeel cmake)" >> $GITHUB_ENV
# TODO: remove this after the next crocoddyl release
# ref. https://github.com/loco-3d/crocoddyl/pull/1440
- run: sed -i '1i \#include <memory>' $CMAKE_PREFIX_PATH/include/crocoddyl/core/utils/conversions.hpp
- run: cmake -B build -S .
- run: cmake --build build -j 4

- run: python -m pip install "osqp<1.0.0"
- run: python -m pip install osqp
- run: echo "LD_LIBRARY_PATH=$(cmeel lib)" >> $GITHUB_ENV
- run: cmake --build build -t test
26 changes: 17 additions & 9 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
name: "CI - Nix"

on:
push:
branches:
- main
- devel
- master
- main
pull_request:
branches:
- main
- devel

- devel
- master
- main
jobs:
tests:
name: "Nix build on ${{ matrix.os }}"
nix:
runs-on: "${{ matrix.os }}-latest"
strategy:
matrix:
Expand All @@ -24,4 +22,14 @@ jobs:
with:
name: gepetto
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix build -L
- run: nix flake check -L
check:
if: always()
name: check-macos-linux-nix
runs-on: ubuntu-latest
needs:
- nix
steps:
- uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}
2 changes: 1 addition & 1 deletion .github/workflows/update-flake-lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ jobs:
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@main
with:
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.5
rev: v0.14.0
hooks:
- id: ruff
args:
Expand All @@ -12,18 +12,18 @@ repos:
hooks:
- id: cmake-format
- repo: https://github.com/pappasam/toml-sort
rev: v0.24.2
rev: v0.24.3
hooks:
- id: toml-sort-fix
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v19.1.7
rev: v21.1.2
hooks:
- id: clang-format
args:
- --style=Google
exclude: '^.*\.ipynb$'
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
- id: check-added-large-files
- id: check-ast
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Releases are available on the [github repository](https://github.com/machines-in
- Added vectorization and malloc check options in CMakeLists
- Added Github CI

### Changed
### Changed

- Code optimization
- Now checking stopping criteria for QP every 25 iterations in SolverCSQP (as a result, it is now more efficient to use SolverSQP for unconstrained problems)
Expand Down
Loading