diff --git a/.github/workflows/asan.yaml b/.github/workflows/asan.yaml new file mode 100644 index 00000000..3499ad52 --- /dev/null +++ b/.github/workflows/asan.yaml @@ -0,0 +1,23 @@ +name: asan + +on: + pull_request: + push: + branches: + - main + workflow_dispatch: + +jobs: + asan_test: + name: rmf_traffic_editor asan + uses: open-rmf/rmf_ci_templates/.github/workflows/reusable_build.yaml@main + with: + dist-matrix: | + [{"ros_distribution": "humble", + "ubuntu_distribution": "jammy"}] + # NOTE: Avoid adding comments in the package lines, this can break some of the called scripts in github actions + packages: | + rmf_traffic_editor + rmf_traffic_editor_test_maps + mixin: asan + \ No newline at end of file diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 00000000..c478ba2c --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,19 @@ +name: build +on: + pull_request: + push: + branches: + - main + workflow_dispatch: + schedule: + - cron: '0 0 1 * *' + +jobs: + build_and_test: + name: rmf_traffic_editor + uses: open-rmf/rmf_ci_templates/.github/workflows/reusable_build.yaml@main + with: + # NOTE: Avoid adding comments in the package lines, this can break some of the called scripts in github actions + packages: | + rmf_traffic_editor + rmf_traffic_editor_test_maps \ No newline at end of file diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml deleted file mode 100644 index 8b2f4d8b..00000000 --- a/.github/workflows/ci.yaml +++ /dev/null @@ -1,49 +0,0 @@ -name: ci -on: [push] -jobs: - ci: - runs-on: ubuntu-20.04 - container: - image: docker://ros:galactic-ros-base-focal - - steps: - - name: ros-workspace - run: | - mkdir -p ws/src - - - name: checkout - uses: actions/checkout@v2 - with: - path: ws/src/rmf_traffic_editor - - - name: non-ros-deps - run: | - sudo apt-get update - sudo apt-get install -y git cmake wget libyaml-cpp-dev qt5-default libceres-dev libeigen3-dev python3-shapely python3-requests python3-yaml python3-pyproj python3-fiona python3-rtree libproj-dev - - - name: rmf-pkgs - run: | - sudo apt-get update - sudo apt-get install -y ros-galactic-rmf-utils - - - name: build - shell: bash - run: | - cd ws - source /opt/ros/galactic/setup.bash - colcon build --packages-select rmf_traffic_editor --cmake-args -DNO_DOWNLOAD_MODELS=True - colcon build --packages-up-to rmf_traffic_editor_test_maps --cmake-args -DNO_DOWNLOAD_MODELS=True - - - name: test - shell: bash - run: | - cd ws - source /opt/ros/galactic/setup.bash - QT_QPA_PLATFORM=offscreen colcon test --packages-select rmf_traffic_editor - - - name: test-results - shell: bash - run: | - cd ws - source /opt/ros/galactic/setup.bash - colcon test-result --verbose diff --git a/.github/workflows/ci_rolling.yaml b/.github/workflows/ci_rolling.yaml deleted file mode 100644 index 2f32c065..00000000 --- a/.github/workflows/ci_rolling.yaml +++ /dev/null @@ -1,51 +0,0 @@ -name: ci_rolling -on: [push] -jobs: - ci_rolling: - runs-on: ubuntu-20.04 - container: - image: docker://ros:rolling-ros-base-jammy - - steps: - - name: ros-workspace - run: | - mkdir -p ws/src - - - name: checkout - uses: actions/checkout@v2 - with: - path: ws/src/rmf_traffic_editor - - - name: checkout - uses: actions/checkout@v2 - with: - repository: open-rmf/rmf_utils - path: ws/src/rmf_utils - - - name: non-ros-deps - run: | - sudo apt-get update - sudo apt-get install -y git cmake wget libyaml-cpp-dev qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools libceres-dev libeigen3-dev python3-shapely python3-requests python3-yaml python3-pyproj python3-fiona python3-rtree libproj-dev - - - name: build - shell: bash - run: | - cd ws - source /opt/ros/rolling/setup.bash - colcon build --packages-select rmf_utils - colcon build --packages-select rmf_traffic_editor --cmake-args -DNO_DOWNLOAD_MODELS=True - colcon build --packages-up-to rmf_traffic_editor_test_maps --cmake-args -DNO_DOWNLOAD_MODELS=True - - - name: test - shell: bash - run: | - cd ws - source /opt/ros/rolling/setup.bash - QT_QPA_PLATFORM=offscreen colcon test --packages-select rmf_traffic_editor - - - name: test-results - shell: bash - run: | - cd ws - source /opt/ros/rolling/setup.bash - colcon test-result --verbose diff --git a/.github/workflows/tsan.yaml b/.github/workflows/tsan.yaml new file mode 100644 index 00000000..50191788 --- /dev/null +++ b/.github/workflows/tsan.yaml @@ -0,0 +1,23 @@ +name: tsan + +on: + pull_request: + push: + branches: + - main + workflow_dispatch: + +jobs: + tsan_test: + name: rmf_traffic_editor tsan + uses: open-rmf/rmf_ci_templates/.github/workflows/reusable_build.yaml@main + with: + dist-matrix: | + [{"ros_distribution": "humble", + "ubuntu_distribution": "jammy"}] + # NOTE: Avoid adding comments in the package lines, this can break some of the called scripts in github actions + packages: | + rmf_traffic_editor + rmf_traffic_editor_test_maps + mixin: tsan + \ No newline at end of file