File tree 6 files changed +133
-6
lines changed
6 files changed +133
-6
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+ updates :
3
+ - package-ecosystem : " github-actions"
4
+ directory : " /"
5
+ schedule :
6
+ interval : " weekly"
Original file line number Diff line number Diff line change 1
1
name : CI - Linux - ROS
2
- on : [push, pull_request]
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ - devel
8
+ pull_request :
9
+ branches :
10
+ - master
11
+ - devel
3
12
4
13
jobs :
5
- CI :
14
+ ROS :
6
15
strategy :
7
16
matrix :
8
17
env :
Original file line number Diff line number Diff line change
1
+ name : " CI - Nix"
2
+
3
+ on :
4
+ push :
5
+
6
+ jobs :
7
+ nix :
8
+ runs-on : " ${{ matrix.os }}-latest"
9
+ strategy :
10
+ matrix :
11
+ os : [ubuntu, macos]
12
+ steps :
13
+ - uses : actions/checkout@v4
14
+ - uses : cachix/install-nix-action@v27
15
+ - uses : cachix/cachix-action@v15
16
+ with :
17
+ name : gepetto
18
+ authToken : ' ${{ secrets.CACHIX_AUTH_TOKEN }}'
19
+ - run : nix build -L
Original file line number Diff line number Diff line change 1
1
pull_request_rules :
2
2
- name : merge automatically when CI passes and PR is approved
3
3
conditions :
4
- - check-success = "CI (humble)"
5
- - check-success = "CI (iron)"
6
- - check-success = "CI (jazzy)"
7
- - check-success = "CI (rolling)"
4
+ - check-success = "ROS (humble)"
5
+ - check-success = "ROS (iron)"
6
+ - check-success = "ROS (jazzy)"
7
+ - check-success = "ROS (rolling)"
8
8
- check-success = "nix (macos)"
9
9
- check-success = "nix (ubuntu)"
10
+ - check-success = "gitlab-ci"
10
11
- check-success = "pre-commit.ci - pr"
11
12
- or :
12
13
- author = pre-commit-ci[bot]
Original file line number Diff line number Diff line change
1
+ {
2
+ description = "C++ reimplementation of eiquadprog" ;
3
+
4
+ inputs = {
5
+ flake-parts . url = "github:hercules-ci/flake-parts" ;
6
+ nixpkgs . url = "github:NixOS/nixpkgs/nixos-unstable" ;
7
+ } ;
8
+
9
+ outputs =
10
+ inputs :
11
+ inputs . flake-parts . lib . mkFlake { inherit inputs ; } {
12
+ systems = inputs . nixpkgs . lib . systems . flakeExposed ;
13
+ perSystem =
14
+ { pkgs , self' , ... } :
15
+ {
16
+ devShells . default = pkgs . mkShell { inputsFrom = [ self' . packages . default ] ; } ;
17
+ packages = {
18
+ default = self' . packages . eiquadprog ;
19
+ eiquadprog = pkgs . eiquadprog . overrideAttrs ( _ : {
20
+ src = pkgs . lib . fileset . toSource {
21
+ root = ./. ;
22
+ fileset = pkgs . lib . fileset . unions [
23
+ ./CMakeLists.txt
24
+ ./include
25
+ ./package.xml
26
+ ./src
27
+ ./tests
28
+ ] ;
29
+ } ;
30
+ } ) ;
31
+ } ;
32
+ } ;
33
+ } ;
34
+ }
You can’t perform that action at this time.
0 commit comments