File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1-
21name : rclnodejs - Linux Build and Test
32
43on :
2726 build :
2827 needs : identify-ros-distro
2928 runs-on : ubuntu-${{ matrix.ubuntu-version }}
29+ # Run x64 jobs on all branches, but arm64 jobs only on the develop branch
30+ if : ${{ !contains(matrix.job-type, 'arm64') || contains(github.ref, 'develop') }}
3031 container :
3132 image : ${{ needs.identify-ros-distro.outputs.linuxos }}
3233 strategy :
@@ -35,12 +36,12 @@ jobs:
3536 node-version : [20.X, 22.X, 24.X]
3637 architecture : [x64]
3738 ubuntu-version : [latest]
38- # Add arm64 support for rolling.
39+ job-type : ['x64-job']
3940 include :
4041 - architecture : arm64
4142 node-version : 22.X
4243 ubuntu-version : 24.04-arm
43- exclude : ${{ !contains(github.ref, 'develop') }}
44+ job-type : ' arm64-job '
4445 steps :
4546 - name : Setup Node.js ${{ matrix.node-version }} on ${{ matrix.architecture }}
4647 uses : actions/setup-node@v4
You can’t perform that action at this time.
0 commit comments