diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..e644b37 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,11 @@ +# Set update schedule for GitHub Actions +# (https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot) + +version: 2 +updates: + + - package-ecosystem: "github-actions" + directory: "/" + schedule: + # Check for updates to GitHub Actions every week + interval: "weekly" diff --git a/.github/workflows/build_and_test_humble.yaml b/.github/workflows/build_and_test_humble.yaml new file mode 100644 index 0000000..6314c9d --- /dev/null +++ b/.github/workflows/build_and_test_humble.yaml @@ -0,0 +1,42 @@ +# This is a basic workflow to help you get started with Actions + +name: Build and Test (humble) + +# Controls when the action will run. +on: + # Triggers the workflow on push + push: + branches: [ main ] + + # Triggers the workflow on pull requests + pull_request: + branches: [ main ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-22.04 + container: + image: ubuntu:jammy + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + - uses: actions/checkout@v4 + - uses: ros-tooling/setup-ros@v0.7 + with: + use-ros2-testing: true + - uses: ros-tooling/action-ros-ci@v0.3 + with: + target-ros2-distro: humble + colcon-defaults: | + { + "build": { + "symlink-install": false + } + } + vcs-repo-file-url: dependencies.repos \ No newline at end of file diff --git a/.github/workflows/build_and_test_iron.yaml b/.github/workflows/build_and_test_iron.yaml new file mode 100644 index 0000000..9032011 --- /dev/null +++ b/.github/workflows/build_and_test_iron.yaml @@ -0,0 +1,42 @@ +# This is a basic workflow to help you get started with Actions + +name: Build and Test (iron) + +# Controls when the action will run. +on: + # Triggers the workflow on push + push: + branches: [ main ] + + # Triggers the workflow on pull requests + pull_request: + branches: [ main ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-22.04 + container: + image: ubuntu:jammy + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + - uses: actions/checkout@v4 + - uses: ros-tooling/setup-ros@v0.7 + with: + use-ros2-testing: true + - uses: ros-tooling/action-ros-ci@v0.3 + with: + target-ros2-distro: iron + colcon-defaults: | + { + "build": { + "symlink-install": false + } + } + vcs-repo-file-url: dependencies.repos \ No newline at end of file diff --git a/.github/workflows/build_and_test_rolling.yaml b/.github/workflows/build_and_test_rolling.yaml new file mode 100644 index 0000000..82bed30 --- /dev/null +++ b/.github/workflows/build_and_test_rolling.yaml @@ -0,0 +1,42 @@ +# This is a basic workflow to help you get started with Actions + +name: Build and Test (rolling) + +# Controls when the action will run. +on: + # Triggers the workflow on push + push: + branches: [ main ] + + # Triggers the workflow on pull requests + pull_request: + branches: [ main ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-22.04 + container: + image: ubuntu:noble + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + - uses: actions/checkout@v4 + - uses: ros-tooling/setup-ros@master + with: + use-ros2-testing: true + - uses: ros-tooling/action-ros-ci@master + with: + target-ros2-distro: rolling + colcon-defaults: | + { + "build": { + "symlink-install": false + } + } + vcs-repo-file-url: dependencies.repos \ No newline at end of file diff --git a/dependencies.repos b/dependencies.repos new file mode 100644 index 0000000..ab59265 --- /dev/null +++ b/dependencies.repos @@ -0,0 +1,5 @@ +repositories: + nao_lola: + type: git + url: https://github.com/ros-sports/nao_lola.git + version: rolling \ No newline at end of file