@@ -16,37 +16,38 @@ jobs:
16
16
matrix :
17
17
rosdistro : ['noetic']
18
18
gcc : ['8', '9', '10']
19
- container : ros:${{ matrix.rosdistro }}-ros-base-focal
20
- name : ROS ${{ matrix.rosdistro }} - GCC ${{ matrix.gcc }} - C++${{ matrix.cxx }}
21
- steps :
22
- - uses : actions/checkout@v4
23
- name : Checkout lpp
24
- with :
25
- repository : ethz-asl/lpp
26
- token : ${{ secrets.PAT }}
27
- path : catkin_ws/src/lpp
28
- - name : Install newest git version
29
- run : sudo apt update && sudo apt-get install -y software-properties-common && sudo add-apt-repository -y ppa:git-core/ppa && sudo apt-get update && sudo apt-get install -y git
30
-
31
- - name : Install GCC version ${{ matrix.gcc }}
32
- run : sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && sudo apt update && sudo apt install -y gcc-${{ matrix.gcc }} g++-${{ matrix.gcc }} && sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${{ matrix.gcc }} 100 --slave /usr/bin/g++ g++ /usr/bin/g++-${{ matrix.gcc }} && gcc --version && g++ --version
33
-
34
- - name : Install catkin tools
35
- run : sudo apt install -y python3-rosdep python3-rosinstall python3-rosinstall-generator python3-wstool build-essential python3-catkin-tools
36
-
37
- - name : Install system dependencies
38
- run : sudo apt install -y libgoogle-glog-dev
39
-
40
- - uses : actions/checkout@v4
41
- name : Checkout mav_sensors
42
- with :
43
- repository : ethz-asl/mav_sensors
44
- submodules : recursive
45
- token : ${{ secrets.PAT }}
46
- path : catkin_ws/src/mav_sensors
47
-
48
- - name : Build mav_sensors
49
- run : source /opt/ros/${{ matrix.rosdistro }}/setup.bash && catkin build mav_sensors && source ${GITHUB_WORKSPACE}/catkin_ws/devel/setup.bash
19
+ container : ros:${{ matrix.rosdistro }}-ros-base-focal
20
+ name : ROS ${{ matrix.rosdistro }} - GCC ${{ matrix.gcc }} - C++${{ matrix.cxx }}
21
+ steps :
22
+ - uses : actions/checkout@v4
23
+ name : Checkout lpp
24
+ with :
25
+ repository : ethz-asl/lpp
26
+ token : ${{ secrets.PAT }}
27
+ path : catkin_ws/src/lpp
28
+
29
+ - name : Install newest git version
30
+ run : sudo apt update && sudo apt-get install -y software-properties-common && sudo add-apt-repository -y ppa:git-core/ppa && sudo apt-get update && sudo apt-get install -y git
31
+
32
+ - name : Install GCC version ${{ matrix.gcc }}
33
+ run : sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && sudo apt update && sudo apt install -y gcc-${{ matrix.gcc }} g++-${{ matrix.gcc }} && sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${{ matrix.gcc }} 100 --slave /usr/bin/g++ g++ /usr/bin/g++-${{ matrix.gcc }} && gcc --version && g++ --version
34
+
35
+ - name : Install catkin tools
36
+ run : sudo apt install -y python3-rosdep python3-rosinstall python3-rosinstall-generator python3-wstool build-essential python3-catkin-tools
37
+
38
+ - name : Install system dependencies
39
+ run : sudo apt install -y libgoogle-glog-dev
40
+
41
+ - uses : actions/checkout@v4
42
+ name : Checkout mav_sensors
43
+ with :
44
+ repository : ethz-asl/mav_sensors
45
+ submodules : recursive
46
+ token : ${{ secrets.PAT }}
47
+ path : catkin_ws/src/mav_sensors
48
+
49
+ - name : Build mav_sensors
50
+ run : source /opt/ros/${{ matrix.rosdistro }}/setup.bash && catkin build mav_sensors && source ${GITHUB_WORKSPACE}/catkin_ws/devel/setup.bash
50
51
51
52
52
53
0 commit comments