-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'devel' into pre-commit-ci-update-config
- Loading branch information
Showing
8 changed files
with
219 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: "Nix CI" | ||
|
||
on: [pull_request, push] | ||
|
||
jobs: | ||
tests: | ||
name: "Nix build on ${{ matrix.os }}" | ||
runs-on: "${{ matrix.os }}-latest" | ||
strategy: | ||
matrix: | ||
os: [ubuntu] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: DeterminateSystems/nix-installer-action@main | ||
- uses: DeterminateSystems/magic-nix-cache-action@main | ||
- run: nix --accept-flake-config build -L | ||
- run: nix --accept-flake-config run .#cachix push gepetto $(readlink result) | ||
if: github.repository_owner == 'humanoid-path-planner' | ||
env: | ||
CACHIX_AUTH_TOKEN: ${{ secrets.CACHIX_AUTH_TOKEN }} |
File renamed without changes.
Submodule cmake
updated
13 files
+56 −53 | .pre-commit-config.yaml | |
+1 −1 | CMakeLists.txt | |
+12 −5 | find-external/CHOLMOD/FindCHOLMOD.cmake | |
+9 −2 | find-external/GMP/FindGMP.cmake | |
+9 −2 | find-external/MPFR/FindMPFR.cmake | |
+59 −14 | header.cmake | |
+26 −19 | memorycheck_unit_test.cmake.in | |
+5 −2 | package-config.cmake | |
+21 −0 | package.xml | |
+30 −0 | pixi.py | |
+57 −33 | release.cmake | |
+4 −4 | sdformat.cmake | |
+45 −8 | test.cmake |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
lib, | ||
stdenv, | ||
cmake, | ||
example-robot-data, | ||
hpp-environments, | ||
hpp-util, | ||
pinocchio, | ||
}: | ||
|
||
stdenv.mkDerivation { | ||
pname = "hpp-pinocchio"; | ||
version = "5.0.0"; | ||
|
||
src = lib.fileset.toSource { | ||
root = ./.; | ||
fileset = lib.fileset.unions [ | ||
./CMakeLists.txt | ||
./doc | ||
./include | ||
./package.xml | ||
./src | ||
./tests | ||
]; | ||
}; | ||
|
||
strictDeps = true; | ||
|
||
nativeBuildInputs = [ cmake ]; | ||
propagatedBuildInputs = [ | ||
example-robot-data | ||
hpp-environments | ||
hpp-util | ||
pinocchio | ||
]; | ||
|
||
doCheck = true; | ||
|
||
meta = { | ||
description = "Wrapping of Pinocchio library into HPP"; | ||
homepage = "https://github.com/humanoid-path-planner/hpp-pinocchio"; | ||
license = lib.licenses.bsd2; | ||
maintainers = [ lib.maintainers.nim65s ]; | ||
}; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
{ | ||
description = "Wrapping of Pinocchio library into HPP"; | ||
|
||
nixConfig = { | ||
extra-substituters = [ "https://gepetto.cachix.org" ]; | ||
extra-trusted-public-keys = [ "gepetto.cachix.org-1:toswMl31VewC0jGkN6+gOelO2Yom0SOHzPwJMY2XiDY=" ]; | ||
}; | ||
|
||
inputs = { | ||
nixpkgs.url = "github:nim65s/nixpkgs/gepetto"; | ||
flake-parts = { | ||
url = "github:hercules-ci/flake-parts"; | ||
inputs.nixpkgs-lib.follows = "nixpkgs"; | ||
}; | ||
hpp-environments = { | ||
url = "github:humanoid-path-planner/hpp-environments"; | ||
inputs.nixpkgs.follows = "nixpkgs"; | ||
inputs.flake-parts.follows = "flake-parts"; | ||
}; | ||
hpp-util = { | ||
url = "github:humanoid-path-planner/hpp-util"; | ||
inputs.nixpkgs.follows = "nixpkgs"; | ||
inputs.flake-parts.follows = "flake-parts"; | ||
}; | ||
}; | ||
|
||
outputs = | ||
inputs@{ flake-parts, ... }: | ||
flake-parts.lib.mkFlake { inherit inputs; } { | ||
imports = [ ]; | ||
systems = [ | ||
"x86_64-linux" | ||
"aarch64-linux" | ||
"aarch64-darwin" | ||
"x86_64-darwin" | ||
]; | ||
perSystem = | ||
{ | ||
self', | ||
pkgs, | ||
system, | ||
... | ||
}: | ||
{ | ||
packages = { | ||
inherit (pkgs) cachix; | ||
default = pkgs.callPackage ./. { | ||
hpp-environments = inputs.hpp-environments.packages.${system}.default; | ||
hpp-util = inputs.hpp-util.packages.${system}.default; | ||
}; | ||
}; | ||
devShells.default = pkgs.mkShell { inputsFrom = [ self'.packages.default ]; }; | ||
}; | ||
}; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?xml version='1.0'?> | ||
<package format='2'> | ||
<name>hpp-pinocchio</name> | ||
<version>5.0.0</version> | ||
<version>5.1.0</version> | ||
<description>Wrapping of the kinematic/dynamic chain Pinocchio for HPP. </description> | ||
|
||
<maintainer email='[email protected]'>Joseph Mirabel</maintainer> | ||
|
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