Skip to content

Commit 35d9c04

Browse files
committed
update CI
1 parent d1e595d commit 35d9c04

File tree

5 files changed

+406
-47
lines changed

5 files changed

+406
-47
lines changed

.github/workflows/ci-linux-ros.yml

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
11
name: CI - Linux - ROS
2-
32
on:
43
push:
54
branches:
6-
- master
7-
- devel
5+
- devel
6+
- master
7+
- main
88
pull_request:
99
branches:
10-
- master
11-
- devel
12-
10+
- devel
11+
- master
12+
- main
1313
jobs:
1414
ROS:
1515
strategy:
1616
matrix:
1717
env:
18-
- {ROS_DISTRO: noetic, BUILDER: catkin_tools}
1918
- {ROS_DISTRO: rolling}
2019
- {ROS_DISTRO: jazzy}
2120
- {ROS_DISTRO: iron}
@@ -24,12 +23,22 @@ jobs:
2423
CCACHE_DIR: /github/home/.ccache
2524
runs-on: ubuntu-latest
2625
steps:
27-
- uses: actions/checkout@v4
26+
- uses: actions/checkout@v5
2827
with:
2928
submodules: recursive
3029
- uses: actions/cache@v4
3130
with:
3231
path: ${{ env.CCACHE_DIR }}
3332
key: ccache-${{ matrix.env.ROS_DISTRO }}
34-
- uses: 'ros-industrial/industrial_ci@d23b9ad2c63bfad638a2b1fe3df34b8df9a2f17b'
33+
- uses: 'ros-industrial/industrial_ci@eb3ea328ff056aa2435d5b3493e7e2929c310f8e'
3534
env: ${{ matrix.env }}
35+
check:
36+
if: always()
37+
name: check-linux-ros
38+
runs-on: ubuntu-latest
39+
needs:
40+
- ROS
41+
steps:
42+
- uses: re-actors/alls-green@release/v1
43+
with:
44+
jobs: ${{ toJSON(needs) }}

.github/workflows/nix.yml

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,36 @@
11
name: "CI - Nix"
2-
32
on:
43
push:
5-
4+
branches:
5+
- devel
6+
- master
7+
- main
8+
pull_request:
9+
branches:
10+
- devel
11+
- master
12+
- main
613
jobs:
714
nix:
815
runs-on: "${{ matrix.os }}-latest"
916
strategy:
1017
matrix:
1118
os: [ubuntu, macos]
1219
steps:
13-
- uses: actions/checkout@v4
14-
- uses: cachix/install-nix-action@v27
15-
- uses: cachix/cachix-action@v15
20+
- uses: actions/checkout@v5
21+
- uses: cachix/install-nix-action@v31
22+
- uses: cachix/cachix-action@v16
1623
with:
1724
name: gepetto
1825
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
19-
- run: nix build -L
26+
- run: nix flake check -L
27+
check:
28+
if: always()
29+
name: check-macos-linux-nix
30+
runs-on: ubuntu-latest
31+
needs:
32+
- nix
33+
steps:
34+
- uses: re-actors/alls-green@release/v1
35+
with:
36+
jobs: ${{ toJSON(needs) }}

.mergify.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
pull_request_rules:
2-
- name: merge automatically when CI passes and PR is approved
2+
- name: merge [bot] PRs when CI pass
33
conditions:
4-
- check-success = "ROS (humble)"
5-
- check-success = "ROS (iron)"
6-
- check-success = "ROS (jazzy)"
7-
- check-success = "ROS (rolling)"
8-
- check-success = "nix (macos)"
9-
- check-success = "nix (ubuntu)"
10-
- check-success = "gitlab-ci"
4+
- check-success = "check-macos-linux-nix"
5+
- check-success = "check-linux-ros"
116
- check-success = "pre-commit.ci - pr"
127
- or:
13-
- author = pre-commit-ci[bot]
14-
- author = dependabot[bot]
8+
- author = dependabot[bot]
9+
- author = github-actions[bot]
10+
- author = hrp2-14
11+
- author = pre-commit-ci[bot]
1512
actions:
1613
merge:

0 commit comments

Comments
 (0)