File tree Expand file tree Collapse file tree 1 file changed +54
-0
lines changed Expand file tree Collapse file tree 1 file changed +54
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build vrpn_catkin (ROS1)
2+ on :
3+ push :
4+ branches :
5+ - " master"
6+ pull_request :
7+ branches :
8+ - " master"
9+ schedule :
10+ - cron : ' 0 0 * * 0' # every Sunday at midnight
11+
12+ jobs :
13+ build :
14+ runs-on : [self-hosted, linux]
15+ env :
16+ rosdistro : ${{ matrix.ubuntu == '20.04' && 'noetic' || 'one' }}
17+ strategy :
18+ fail-fast : false
19+ matrix :
20+ gcc : ['9', '10', '11']
21+ ubuntu : ['20.04', '22.04']
22+ container :
23+ image : omavteam/ubuntu-omav-ros:ros-ros-base-${{ matrix.ubuntu }}
24+ credentials :
25+ username : ${{ secrets.DOCKER_USERNAME }}
26+ password : ${{ secrets.DOCKER_PASSWORD }}
27+ name : Ubuntu ${{ matrix.ubuntu }} - GCC ${{ matrix.gcc }}
28+ steps :
29+ - name : Switch GCC version
30+ run : |
31+ update-alternatives --set gcc /usr/bin/gcc-${{ matrix.gcc }}
32+ update-alternatives --set g++ /usr/bin/g++-${{ matrix.gcc}}
33+ gcc --version
34+ g++ --version
35+
36+ - uses : actions/checkout@v4
37+ name : Checkout catkin_simple
38+ with :
39+ repository : catkin/catkin_simple
40+ ref : master
41+ path : catkin_ws/src/catkin_simple
42+
43+ - uses : actions/checkout@v4
44+ name : Checkout vrpn_catkin
45+ with :
46+ repository : ethz-asl/vrpn_catkin
47+ path : catkin_ws/src/vrpn_catkin
48+
49+ - name : Build vrpn_catkin
50+ run : source /opt/ros/$rosdistro/setup.bash && catkin build vrpn_catkin && source ${GITHUB_WORKSPACE}/catkin_ws/devel/setup.bash
51+ working-directory : catkin_ws
52+ shell : bash
53+
54+
You can’t perform that action at this time.
0 commit comments