diff --git a/.github/ci/collection.yaml b/.github/ci/collection.yaml new file mode 100644 index 000000000..dd977d88a --- /dev/null +++ b/.github/ci/collection.yaml @@ -0,0 +1,66 @@ +--- +repositories: + gz-cmake: + type: git + url: https://github.com/gazebosim/gz-cmake + version: gz-cmake5 + gz-common: + type: git + url: https://github.com/gazebosim/gz-common + version: gz-common7 + gz-fuel-tools: + type: git + url: https://github.com/gazebosim/gz-fuel-tools + version: gz-fuel-tools11 + gz-sim: + type: git + url: https://github.com/gazebosim/gz-sim + version: gz-sim10 + gz-gui: + type: git + url: https://github.com/gazebosim/gz-gui + version: gz-gui10 + gz-launch: + type: git + url: https://github.com/gazebosim/gz-launch + version: gz-launch9 + gz-math: + type: git + url: https://github.com/gazebosim/gz-math + version: gz-math9 + gz-msgs: + type: git + url: https://github.com/gazebosim/gz-msgs + version: gz-msgs12 + gz-physics: + type: git + url: https://github.com/gazebosim/gz-physics + version: gz-physics9 + gz-plugin: + type: git + url: https://github.com/gazebosim/gz-plugin + version: gz-plugin4 + gz-rendering: + type: git + url: https://github.com/gazebosim/gz-rendering + version: gz-rendering10 + gz-sensors: + type: git + url: https://github.com/gazebosim/gz-sensors + version: gz-sensors10 + gz-tools: + type: git + url: https://github.com/gazebosim/gz-tools + version: gz-tools2 + gz-transport: + type: git + url: https://github.com/gazebosim/gz-transport + version: gz-transport15 + gz-utils: + type: git + url: https://github.com/gazebosim/gz-utils + version: gz-utils4 + sdformat: + type: git + url: https://github.com/gazebosim/sdformat + version: sdf16 diff --git a/.github/ci/packages_up_to_sdformat.yaml b/.github/ci/packages_up_to_sdformat.yaml new file mode 100644 index 000000000..2d11568cf --- /dev/null +++ b/.github/ci/packages_up_to_sdformat.yaml @@ -0,0 +1,22 @@ +--- +repositories: + gz-cmake: + type: git + url: https://github.com/gazebosim/gz-cmake + version: gz-cmake5 + gz-math: + type: git + url: https://github.com/gazebosim/gz-math + version: gz-math9 + gz-tools: + type: git + url: https://github.com/gazebosim/gz-tools + version: gz-tools2 + gz-utils: + type: git + url: https://github.com/gazebosim/gz-utils + version: gz-utils4 + sdformat: + type: git + url: https://github.com/gazebosim/sdformat + version: sdf16 diff --git a/.github/workflows/ci_dependencies_from_source.yaml b/.github/workflows/ci_dependencies_from_source.yaml new file mode 100644 index 000000000..70e8576e9 --- /dev/null +++ b/.github/workflows/ci_dependencies_from_source.yaml @@ -0,0 +1,53 @@ +name: Ubuntu CI from source +run-name: Testing ${{ inputs.packages-to-test }} | vcs ${{ inputs.vcs-repo-file-base }} ${{ inputs.vcs-repo-file }} + +on: + workflow_dispatch: + inputs: + packages-to-test: + description: Names of packages to test (e.g. 'gz-math sdformat'). + required: true + type: string + default: sdformat + vcs-repo-file-base: + description: Choose whether vcs-repo-file represents a relative path in the github workspace or a URL. + required: true + default: relative + type: choice + options: + - relative + - url + vcs-repo-file: + description: Relative path or URL to vcs repo file to import into colcon workspace + required: true + type: string + default: ".github/ci/packages_up_to_sdformat.yaml" + +jobs: + noble-ci: + runs-on: ubuntu-latest + name: Ubuntu Noble CI (from source) + container: + image: rostooling/setup-ros-docker:ubuntu-noble-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Compile and test + uses: ros-tooling/action-ros-ci@v0.4 + with: + package-name: ${{ inputs.packages-to-test }} + target-ros2-distro: kilted + vcs-repo-file-url: > + ${{ case( + inputs.vcs-repo-file-base == 'relative', format('{0}/{1}', github.workspace, inputs.vcs-repo-file), + inputs.vcs-repo-file + ) }} + colcon-defaults: | + { + "build": { + "merge-install": true + }, + "test": { + "merge-install": true + } + }