Skip to content

Commit

Permalink
updated ci
Browse files Browse the repository at this point in the history
  • Loading branch information
klaxalk committed Jul 26, 2023
1 parent 60c2a66 commit 36158f7
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 30 deletions.
47 changes: 24 additions & 23 deletions .github/workflows/noetic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,43 +2,44 @@ name: Noetic

on:
push:
branches: [ master ]
paths-ignore:
- '**/README.md'
- '**.yaml'
- '**.launch'

branches: [ hw_api ]

pull_request:
branches: [ master ]
branches: [ hw_api ]

schedule:
- cron: '0 0 * * *' # at the end of every day
# schedule:
# - cron: '0 0 * * *' # at the end of every day

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:

cancel:

name: Cancel Previous Runs
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

build:
runs-on: ubuntu-20.04

env:
PUSH_TOKEN: ${{ secrets.PUSH_TOKEN }}

steps:

# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
with:
fetch-depth: 0 # fetch the whole history
fetch-depth: 0

- name: Install
run: ./.ci/install.sh
- name: Checkout CI scripts
uses: actions/checkout@v3
with:
repository: ctu-mrs/ci_scripts
path: .ci_scripts
token: ${{ secrets.PUSH_TOKEN }}

- name: Install ROS
run: .ci_scripts/package_build/install_ros.sh

- name: Build
run: ./.ci/build.sh
run: .ci_scripts/package_build/build_package.sh

- name: Deploy
run: .ci_scripts/package_build/deploy_deb.sh
7 changes: 1 addition & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ target_link_libraries(MRSSafetyLedPlugin
## | Install |
## --------------------------------------------------------------

install(TARGETS MRSGazeboGuiManager MRSGazeboRvizCameraSynchronizer MRSGazeboStaticTransformRepublisher MRSGazeboRangefinderPlugin MRSGazebo2DLidarPlugin MRSGazebo3DLidarPlugin MRSGazebo3DLidarGpuPlugin MRSGazeboCameraPlugin MRSGazeboRealsensePlugin MRSGazeboParachutePlugin MRSGazeboWaterGunPlugin MRSGazeboGPSPlugin MRSGazeboMagnetometerPlugin MRSGazeboLightPlugin MRSGazeboServoCameraPlugin MRSGazeboDynamicModelPlugin
install(TARGETS MRSGazeboGuiManager MRSGazeboRvizCameraSynchronizer MRSGazeboStaticTransformRepublisher MRSGazeboRangefinderPlugin MRSGazebo2DLidarPlugin MRSGazebo3DLidarPlugin MRSGazebo3DLidarGpuPlugin MRSGazeboCameraPlugin MRSGazeboRealsensePlugin MRSGazeboParachutePlugin MRSGazeboWaterGunPlugin MRSGazeboGPSPlugin MRSGazeboMagnetometerPlugin MRSGazeboLightPlugin MRSGazeboServoCameraPlugin MRSGazeboDynamicModelPlugin
ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
RUNTIME DESTINATION ${CATKIN_GLOBAL_BIN_DESTINATION}
Expand All @@ -244,8 +244,3 @@ install(DIRECTORY models/
install(DIRECTORY worlds/
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/worlds
)

install(DIRECTORY ./
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
FILES_MATCHING PATTERN "*.xml"
)
2 changes: 1 addition & 1 deletion package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<depend>tf2_ros</depend>
<depend>tf2_msgs</depend>
<depend>std_msgs</depend>
<depend>qt</depend>
<depend>libqt5-widgets</depend>
<depend>gazebo</depend>
<depend>gazebo_ros</depend>
<depend>gazebo_plugins</depend>
Expand Down

0 comments on commit 36158f7

Please sign in to comment.