-
Couldn't load subscription status.
- Fork 444
switch to c++17 for ubuntu 22.4 support #205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ecuniato
wants to merge
10
commits into
master
Choose a base branch
from
feature/ubuntu_22
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
d1d71e9
switch to c++17 for ubuntu 22.4 support
4c3y 6eb8faa
Add ubuntu 20/22 CI
4c3y 9298390
Run on push on all branches
4c3y 05387a3
Add build step
4c3y e094b57
Fix env variable
4c3y 8e3757b
Checkout catkin_simple
4c3y 0522831
Run unittests in CI
4c3y fc7dbd0
Use bash shell for run_tests command
4c3y 5302247
Fix missing working-directory
4c3y 52e37fd
Added sensor_fusion_comm dependency to msf_core that is needed by uni…
4c3y File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,60 @@ | ||
| name: Build ethzasl_msf | ||
| on: | ||
| push: | ||
| schedule: | ||
| - cron: '0 0 * * 0' # every Sunday at midnight | ||
|
|
||
| jobs: | ||
| build: | ||
| runs-on: [self-hosted, linux] | ||
| env: | ||
| rosdistro: ${{ matrix.ubuntu == '20.04' && 'noetic' || 'one' }} | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| gcc: [ '9', '10', '11' ] | ||
| ubuntu: [ '20.04', '22.04' ] | ||
| container: | ||
| image: omavteam/ubuntu-omav-ros:ros-desktop-${{ matrix.ubuntu }} | ||
| credentials: | ||
| username: ${{ secrets.DOCKER_USERNAME }} | ||
| password: ${{ secrets.DOCKER_PASSWORD }} | ||
| name: Ubuntu ${{ matrix.ubuntu }} - GCC ${{ matrix.gcc }} | ||
| steps: | ||
| - name: Install image-geometry | ||
| run: apt update && apt install -y ros-${{ env.rosdistro }}-image-geometry | ||
|
|
||
| - name: Switch GCC version | ||
| run: | | ||
| update-alternatives --set gcc /usr/bin/gcc-${{ matrix.gcc }} | ||
| update-alternatives --set g++ /usr/bin/g++-${{ matrix.gcc}} | ||
| gcc --version | ||
| g++ --version | ||
|
|
||
| - uses: actions/checkout@v4 | ||
| name: Checkout catkin_simple | ||
| with: | ||
| repository: catkin/catkin_simple | ||
| path: catkin_ws/src/catkin_simple | ||
|
|
||
| - uses: actions/checkout@v4 | ||
| name: Checkout glog_catkin | ||
| with: | ||
| repository: ethz-asl/glog_catkin | ||
| path: catkin_ws/src/glog_catkin | ||
|
|
||
| - uses: actions/checkout@v4 | ||
| name: Checkout ethzasl_msf | ||
| with: | ||
| repository: ethz-asl/ethzasl_msf | ||
| path: catkin_ws/src/ethzasl_msf | ||
|
|
||
| - name: Build ethzasl_msf | ||
| run: source /opt/ros/${{ env.rosdistro }}/setup.bash && catkin build ethzasl_msf && source ${GITHUB_WORKSPACE}/catkin_ws/devel/setup.bash | ||
| working-directory: catkin_ws | ||
| shell: bash | ||
|
|
||
| - name: Run ethzasl_msf tests | ||
| run: source /opt/ros/${{ env.rosdistro }}/setup.bash && catkin run_tests msf_core msf_timing | ||
| working-directory: catkin_ws | ||
| shell: bash |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=c++0x") | ||
| SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=c++17") | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.