@@ -12,43 +12,15 @@ jobs:
1212 strategy :
1313 fail-fast : false
1414 matrix :
15- ROS_DISTRO : [rolling]
15+ ROS_DISTRO : [jazzy, kilted, rolling]
1616 ROS_REPO : [main]
1717 PRERELEASE : [true]
1818 env :
19- CCACHE_DIR : ${{ github.workspace }}/.ccache
2019 BASEDIR : ${{ github.workspace }}/.work
21- CACHE_PREFIX : ${{ matrix.ROS_DISTRO }}-${{ matrix.ROS_REPO }}
2220 steps :
2321 - uses : actions/checkout@v4
24- # The target directory cache doesn't include the source directory because
25- # that comes from the checkout. See "prepare target_ws for cache" task below
26- - name : cache target_ws
27- if : ${{ ! matrix.CCOV }}
28- 29- with :
30- path : ${{ env.BASEDIR }}/target_ws
31- key : target_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('**/CMakeLists.txt', '**/package.xml') }}-${{ github.run_id }}
32- restore-keys : |
33- target_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('**/CMakeLists.txt', '**/package.xml') }}
34- - name : cache ccache
35- 36- with :
37- path : ${{ env.CCACHE_DIR }}
38- key : ccache-${{ env.CACHE_PREFIX }}-${{ github.sha }}-${{ github.run_id }}
39- restore-keys : |
40- ccache-${{ env.CACHE_PREFIX }}-${{ github.sha }}
41- ccache-${{ env.CACHE_PREFIX }}
4222 - uses : ' ros-industrial/industrial_ci@master'
4323 env :
4424 ROS_DISTRO : ${{ matrix.ROS_DISTRO }}
4525 ROS_REPO : ${{ matrix.ROS_REPO }}
4626 PRERELEASE : ${{ matrix.PRERELEASE }}
47-
48- - name : prepare target_ws for cache
49- if : ${{ always() && ! matrix.CCOV }}
50- run : |
51- du -sh ${{ env.BASEDIR }}/target_ws
52- sudo find ${{ env.BASEDIR }}/target_ws -wholename '*/test_results/*' -delete
53- sudo rm -rf ${{ env.BASEDIR }}/target_ws/src
54- du -sh ${{ env.BASEDIR }}/target_ws
0 commit comments