Skip to content

Commit

Permalink
Merge branch 'devel' into pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
  • Loading branch information
nim65s authored Jul 4, 2024
2 parents dc26af3 + 5d5bce5 commit af945f9
Show file tree
Hide file tree
Showing 6 changed files with 411 additions and 2 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/nix.yml
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 }}
41 changes: 41 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
lib,
cmake,
hpp-corbaserver,
pkg-config,
python3Packages,
}:

python3Packages.buildPythonPackage {
pname = "hpp-romeo";
version = "5.0.0";
pyproject = false;

src = lib.fileset.toSource {
root = ./.;
fileset = lib.fileset.unions [
./CMakeLists.txt
./doc
./launch
./package.xml
./rviz
./scripts
./src
];
};

strictDeps = true;

nativeBuildInputs = [
cmake
pkg-config
];
propagatedBuildInputs = [ hpp-corbaserver ];

meta = {
description = "Python and ros launch files for Romeo robot in hpp";
homepage = "https://github.com/humanoid-path-planner/hpp_romeo";
license = lib.licenses.bsd2;
maintainers = [ lib.maintainers.nim65s ];
};
}
299 changes: 299 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit af945f9

Please sign in to comment.