From 62cbc9bcc4fba471248ab379921912c328166769 Mon Sep 17 00:00:00 2001 From: Tomas Baca Date: Tue, 20 Aug 2024 19:22:04 +0200 Subject: [PATCH] added arm32, wip --- .github/workflows/unstable_mrs_arm32.yml | 140 +++++++++++++++++++++++ mrs.yaml | 110 +++++++++--------- nonbloom.yaml | 4 +- thirdparty.yaml | 24 ++-- 4 files changed, 209 insertions(+), 69 deletions(-) create mode 100644 .github/workflows/unstable_mrs_arm32.yml diff --git a/.github/workflows/unstable_mrs_arm32.yml b/.github/workflows/unstable_mrs_arm32.yml new file mode 100644 index 0000000000..da8badb963 --- /dev/null +++ b/.github/workflows/unstable_mrs_arm32.yml @@ -0,0 +1,140 @@ +name: unstable-mrs-arm32 + +on: + workflow_dispatch: + + schedule: + - cron: '0 22 * * *' # every day at 00.00 UTC+2 + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + +jobs: + + init-artifacts: + runs-on: ubuntu-20.04 + steps: + - id: execute + run: | + mkdir -p /tmp/artifacts + mkdir -p /tmp/artifacts/metarepositories + touch /tmp/artifacts/generated_mrs_arm32.yaml + touch /tmp/artifacts/compiled.txt + echo "0" >> /tmp/artifacts/idx.txt + - name: Save artifacts + uses: actions/upload-artifact@v3 + with: + name: artifacts + path: /tmp/artifacts/ + + generate-jobs: + needs: init-artifacts + runs-on: ubuntu-20.04 + outputs: + packages: ${{ steps.generate.outputs.packages }} + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + submodules: 'recursive' + - name: Checkout CI scripts + uses: actions/checkout@v3 + with: + repository: ctu-mrs/ci_scripts + ref: master + path: .ci_scripts + token: ${{ secrets.PUSH_TOKEN }} + - id: generate + run: | + JOB_STRATEGY_MATRIX=$(./.ci/get_build_matrix.sh mrs unstable arm32) + cat /tmp/log.txt + echo "packages=$JOB_STRATEGY_MATRIX" >> "$GITHUB_OUTPUT" + + build-job: + needs: generate-jobs + runs-on: ubuntu-20.04 + timeout-minutes: 360 # 6 hour timeout + strategy: + matrix: + job: ${{ fromJson(needs.generate-jobs.outputs.packages) }} + max-parallel: 1 # Run jobs serially + steps: + - name: Load artifacts + uses: actions/download-artifact@v3 + with: + name: artifacts + path: /tmp/artifacts/ + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + submodules: 'recursive' + - name: Checkout CI scripts + uses: actions/checkout@v3 + with: + repository: ctu-mrs/ci_scripts + ref: master + path: .ci_scripts + token: ${{ secrets.PUSH_TOKEN }} + - uses: ctu-mrs/run-on-arch-action@master + name: build + + id: build + + with: + arch: aarch32 + distro: noetic + + githubToken: ${{ github.token }} + + # Create an artifacts directory + setup: | + mkdir -p "/tmp/artifacts" + mkdir -p "/tmp/repository" + + # Mount the artifacts directory as /artifacts in the container + dockerRunArgs: | + --volume "$PWD:/tmp/repository" + --volume "/tmp/artifacts:/tmp/artifacts" + + # The shell to run commands with in the container + shell: /bin/sh + + # Produce a binary artifact and place it in the mounted volume + run: | + /tmp/repository/.ci/build.sh mrs unstable "${{ matrix.job }}" + + - name: Save artifacts + uses: actions/upload-artifact@v3 + with: + name: artifacts + path: /tmp/artifacts/ + + collect-artifacts: + runs-on: ubuntu-20.04 + needs: build-job + env: + PUSH_TOKEN: ${{ secrets.PUSH_TOKEN }} + steps: + - name: Load artifacts + uses: actions/download-artifact@v3 + with: + name: artifacts + path: /tmp/artifacts/ + - id: execute + run: | + rm /tmp/artifacts/compiled.txt 2> /dev/null || true + rm /tmp/artifacts/idx.txt 2> /dev/null || true + rm /tmp/artifacts/compile_further.txt 2> /dev/null || true + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + submodules: 'recursive' + - name: Checkout CI scripts + uses: actions/checkout@v3 + with: + repository: ctu-mrs/ci_scripts + ref: master + path: .ci_scripts + token: ${{ secrets.PUSH_TOKEN }} + - name: Deploy + run: .ci_scripts/package_build/push_to_ppa.sh unstable /tmp/artifacts diff --git a/mrs.yaml b/mrs.yaml index db4fd6b9f6..5538c8ae5e 100644 --- a/mrs.yaml +++ b/mrs.yaml @@ -1,5 +1,5 @@ mrs_msgs: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_msgs gitman: false git_refs: @@ -10,7 +10,7 @@ mrs_msgs: enabled: false mrs_modules_msgs: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_modules_msgs gitman: false git_refs: @@ -21,7 +21,7 @@ mrs_modules_msgs: enabled: false mrs_lib: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_lib gitman: false git_refs: @@ -33,7 +33,7 @@ mrs_lib: full_test_coverage: true mrs_uav_testing: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_uav_testing gitman: false git_refs: @@ -45,7 +45,7 @@ mrs_uav_testing: full_test_coverage: true mrs_uav_gazebo_testing: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_uav_gazebo_testing gitman: false git_refs: @@ -57,7 +57,7 @@ mrs_uav_gazebo_testing: full_test_coverage: false mrs_uav_managers: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_uav_managers gitman: false git_refs: @@ -69,7 +69,7 @@ mrs_uav_managers: full_test_coverage: true mrs_bumper: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_bumper gitman: false git_refs: @@ -80,7 +80,7 @@ mrs_bumper: enabled: false mrs_multirotor_simulator: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_multirotor_simulator gitman: false git_refs: @@ -92,7 +92,7 @@ mrs_multirotor_simulator: full_test_coverage: true mrs_uav_controllers: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_uav_controllers gitman: false git_refs: @@ -104,7 +104,7 @@ mrs_uav_controllers: full_test_coverage: true mrs_uav_autostart: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_uav_autostart gitman: false git_refs: @@ -116,7 +116,7 @@ mrs_uav_autostart: full_test_coverage: true mrs_uav_hw_api: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_uav_hw_api gitman: false git_refs: @@ -128,7 +128,7 @@ mrs_uav_hw_api: full_test_coverage: true mrs_uav_state_estimators: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_uav_state_estimators gitman: false git_refs: @@ -140,7 +140,7 @@ mrs_uav_state_estimators: full_test_coverage: true mrs_uav_deployment: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_uav_deployment gitman: false git_refs: @@ -151,7 +151,7 @@ mrs_uav_deployment: enabled: false mrs_uav_status: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_uav_status gitman: false git_refs: @@ -162,7 +162,7 @@ mrs_uav_status: enabled: false mrs_uav_trackers: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_uav_trackers gitman: false git_refs: @@ -174,7 +174,7 @@ mrs_uav_trackers: full_test_coverage: true mrs_uav_px4_api: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_uav_px4_api gitman: false git_refs: @@ -185,7 +185,7 @@ mrs_uav_px4_api: enabled: false mrs_uav_dji_tello_api: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_uav_dji_tello_api gitman: false git_refs: @@ -196,7 +196,7 @@ mrs_uav_dji_tello_api: enabled: false mrs_rviz_plugins: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_rviz_plugins gitman: false git_refs: @@ -207,7 +207,7 @@ mrs_rviz_plugins: enabled: false mrs_uav_trajectory_generation: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_uav_trajectory_generation gitman: false git_refs: @@ -219,7 +219,7 @@ mrs_uav_trajectory_generation: full_test_coverage: true mrs_serial: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_serial gitman: false git_refs: @@ -230,7 +230,7 @@ mrs_serial: enabled: false mrs_uav_path_loader: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_uav_path_loader gitman: false git_refs: @@ -241,7 +241,7 @@ mrs_uav_path_loader: enabled: false mrs_uav_trajectory_loader: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_uav_trajectory_loader gitman: false git_refs: @@ -252,7 +252,7 @@ mrs_uav_trajectory_loader: enabled: false mrs_utils: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_utils gitman: false git_refs: @@ -263,7 +263,7 @@ mrs_utils: enabled: false mrs_gazebo_common_resources: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_gazebo_common_resources gitman: false git_refs: @@ -274,7 +274,7 @@ mrs_gazebo_common_resources: enabled: false mrs_pcl_tools: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_pcl_tools gitman: false git_refs: @@ -285,7 +285,7 @@ mrs_pcl_tools: enabled: false mrs_subt_planning_lib: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_subt_planning_lib gitman: false git_refs: @@ -296,7 +296,7 @@ mrs_subt_planning_lib: enabled: false mrs_octomap_tools: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_octomap_tools gitman: false git_refs: @@ -307,7 +307,7 @@ mrs_octomap_tools: enabled: false mrs_octomap_server: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_octomap_server gitman: false git_refs: @@ -318,7 +318,7 @@ mrs_octomap_server: enabled: false mrs_octomap_planner: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_octomap_planner gitman: false git_refs: @@ -329,7 +329,7 @@ mrs_octomap_planner: enabled: false mrs_octomap_mapping_planning: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_octomap_mapping_planning gitman: false git_refs: @@ -340,7 +340,7 @@ mrs_octomap_mapping_planning: enabled: false mrs_uav_coppelia_simulation: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_uav_coppelia_simulation gitman: false git_refs: @@ -351,7 +351,7 @@ mrs_uav_coppelia_simulation: enabled: false mrs_uav_gazebo_simulation: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_uav_gazebo_simulation gitman: false git_refs: @@ -362,7 +362,7 @@ mrs_uav_gazebo_simulation: enabled: true aloam: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/aloam gitman: false git_refs: @@ -373,7 +373,7 @@ aloam: enabled: false mrs_uav_modules: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_uav_modules gitman: false git_refs: @@ -384,7 +384,7 @@ mrs_uav_modules: enabled: false mrs_uav_core: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_uav_core gitman: false git_refs: @@ -395,7 +395,7 @@ mrs_uav_core: enabled: false mrs_uav_system: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_uav_system gitman: false git_refs: @@ -406,7 +406,7 @@ mrs_uav_system: enabled: false mrs_hector_estimator_plugin: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_hector_estimator_plugin gitman: false git_refs: @@ -417,7 +417,7 @@ mrs_hector_estimator_plugin: enabled: false mrs_hector_core: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_hector_core gitman: false git_refs: @@ -428,7 +428,7 @@ mrs_hector_core: enabled: false mrs_open_vins_estimator_plugin: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_open_vins_estimator_plugin gitman: false git_refs: @@ -439,7 +439,7 @@ mrs_open_vins_estimator_plugin: enabled: false mrs_vins_republisher: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_vins_republisher gitman: false git_refs: @@ -450,7 +450,7 @@ mrs_vins_republisher: enabled: false mrs_vins_imu_filter: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_vins_imu_filter gitman: false git_refs: @@ -461,7 +461,7 @@ mrs_vins_imu_filter: enabled: false mrs_open_vins_core: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_open_vins_core gitman: false git_refs: @@ -472,7 +472,7 @@ mrs_open_vins_core: enabled: false mrs_aloam_estimator_plugin: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_aloam_estimator_plugin gitman: false git_refs: @@ -483,7 +483,7 @@ mrs_aloam_estimator_plugin: enabled: false mrs_aloam_core: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_aloam_core gitman: false git_refs: @@ -494,7 +494,7 @@ mrs_aloam_core: enabled: false uvdar_core: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/uvdar_core gitman: true git_refs: @@ -505,7 +505,7 @@ uvdar_core: enabled: false uvdar_gazebo_plugin: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/uvdar_gazebo_plugin gitman: false git_refs: @@ -516,7 +516,7 @@ uvdar_gazebo_plugin: enabled: false liosam: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/liosam gitman: false git_refs: @@ -527,7 +527,7 @@ liosam: enabled: false mrs_liosam_estimator_plugin: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_liosam_estimator_plugin gitman: false git_refs: @@ -538,7 +538,7 @@ mrs_liosam_estimator_plugin: enabled: false mrs_liosam_core: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_liosam_core gitman: false git_refs: @@ -549,7 +549,7 @@ mrs_liosam_core: enabled: false mrs_uav_unreal_simulation: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_uav_unreal_simulation gitman: false git_refs: @@ -560,7 +560,7 @@ mrs_uav_unreal_simulation: enabled: false mrs_mins_estimator_plugin: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_mins_estimator_plugin gitman: false git_refs: @@ -571,7 +571,7 @@ mrs_mins_estimator_plugin: enabled: false mrs_mins_core: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_mins_core gitman: false git_refs: @@ -582,7 +582,7 @@ mrs_mins_core: enabled: false mrs_precise_landing: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_precise_landing gitman: false git_refs: @@ -593,7 +593,7 @@ mrs_precise_landing: enabled: false mrs_icm_imu_driver: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_icm_imu_driver gitman: false git_refs: @@ -604,7 +604,7 @@ mrs_icm_imu_driver: enabled: false mrs_robofly_core: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mrs_robofly_core gitman: false git_refs: diff --git a/nonbloom.yaml b/nonbloom.yaml index cafda89c70..00c6e6c5d9 100644 --- a/nonbloom.yaml +++ b/nonbloom.yaml @@ -26,7 +26,7 @@ mrs_geographiclib_datasets: stable: release px4_firmware: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/px4_firmware gitman: false git_refs: @@ -35,7 +35,7 @@ px4_firmware: stable: mrs_release libcamera_ros: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/libcamera_ros gitman: false git_refs: diff --git a/thirdparty.yaml b/thirdparty.yaml index d6ec9fdd26..041ce8ee09 100644 --- a/thirdparty.yaml +++ b/thirdparty.yaml @@ -1,5 +1,5 @@ px4_sitl_gazebo: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/px4_sitl_gazebo gitman: false git_refs: @@ -8,7 +8,7 @@ px4_sitl_gazebo: stable: release nlopt_ros: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/nlopt_ros gitman: false git_refs: @@ -17,7 +17,7 @@ nlopt_ros: stable: release ouster-ros: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/ouster-ros gitman: false git_refs: @@ -26,7 +26,7 @@ ouster-ros: stable: release mavros: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mavros gitman: false git_refs: @@ -35,7 +35,7 @@ mavros: stable: release mav_comm: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mav_comm gitman: false git_refs: @@ -44,7 +44,7 @@ mav_comm: stable: release ros_comm: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/ros_comm gitman: false git_refs: @@ -53,7 +53,7 @@ ros_comm: stable: release geometry2: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/geometry2 gitman: false git_refs: @@ -62,7 +62,7 @@ geometry2: stable: release nimbro_network: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/nimbro_network gitman: false git_refs: @@ -71,7 +71,7 @@ nimbro_network: stable: release hector_slam: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/hector_slam gitman: false git_refs: @@ -80,7 +80,7 @@ hector_slam: stable: release open_vins: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/open_vins gitman: false git_refs: @@ -89,7 +89,7 @@ open_vins: stable: release mins: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/mins gitman: false git_refs: @@ -98,7 +98,7 @@ mins: stable: release libcamera_ros_driver: - architecture: [amd64, arm64] + architecture: [amd64, arm64, arm32] source: https://github.com/ctu-mrs/libcamera_ros_driver gitman: false git_refs: