From 20ac042f79eaf20a713645cb5bdd138be8bdf7a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20Thor=C3=A9n?= Date: Mon, 2 Oct 2023 10:10:08 +0200 Subject: [PATCH 1/5] Workflow file --- .github/workflows/build_source.yaml | 32 +++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/build_source.yaml diff --git a/.github/workflows/build_source.yaml b/.github/workflows/build_source.yaml new file mode 100644 index 000000000..dd93bbe92 --- /dev/null +++ b/.github/workflows/build_source.yaml @@ -0,0 +1,32 @@ +name: Build ATOS from source + +on: + pull_request: + push: + branches: + - dev + +jobs: + build-and-test: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-20.04] + fail-fast: false + steps: + - name: Setup ROS 2 + uses: ros-tooling/setup-ros@0.7.0 + with: + required-ros-distributions: foxy + + - name: Run Tests + uses: ros-tooling/action-ros-ci@0.3.3 + with: + package-name: atos + + - name: Upload Logs + uses: actions/upload-artifact@v1 + with: + name: colcon-logs + path: ros_ws/log + if: always() \ No newline at end of file From 4c13c12e31ff937e5df59a1854d5e208ea04b5bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20Thor=C3=A9n?= Date: Mon, 2 Oct 2023 10:16:06 +0200 Subject: [PATCH 2/5] Indentation --- .github/workflows/build_source.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_source.yaml b/.github/workflows/build_source.yaml index dd93bbe92..51a3e2fd3 100644 --- a/.github/workflows/build_source.yaml +++ b/.github/workflows/build_source.yaml @@ -16,7 +16,7 @@ jobs: steps: - name: Setup ROS 2 uses: ros-tooling/setup-ros@0.7.0 - with: + with: required-ros-distributions: foxy - name: Run Tests From 62a0e1a9b0856fd2f5a73eb88517191d83ef18a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20Thor=C3=A9n?= Date: Mon, 2 Oct 2023 10:46:18 +0200 Subject: [PATCH 3/5] Indentation --- .github/workflows/build_source.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_source.yaml b/.github/workflows/build_source.yaml index 51a3e2fd3..dd93bbe92 100644 --- a/.github/workflows/build_source.yaml +++ b/.github/workflows/build_source.yaml @@ -16,7 +16,7 @@ jobs: steps: - name: Setup ROS 2 uses: ros-tooling/setup-ros@0.7.0 - with: + with: required-ros-distributions: foxy - name: Run Tests From f455a8a6dbd964adcb9ebe484dc434ab8e98ec18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20Thor=C3=A9n?= Date: Mon, 2 Oct 2023 10:49:19 +0200 Subject: [PATCH 4/5] Test commit --- .github/workflows/build_source.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_source.yaml b/.github/workflows/build_source.yaml index dd93bbe92..51a3e2fd3 100644 --- a/.github/workflows/build_source.yaml +++ b/.github/workflows/build_source.yaml @@ -16,7 +16,7 @@ jobs: steps: - name: Setup ROS 2 uses: ros-tooling/setup-ros@0.7.0 - with: + with: required-ros-distributions: foxy - name: Run Tests From 73149a658345df477b753192e53ea52203c63084 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20Thor=C3=A9n?= Date: Mon, 2 Oct 2023 10:56:11 +0200 Subject: [PATCH 5/5] Version name --- .github/workflows/build_source.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_source.yaml b/.github/workflows/build_source.yaml index 51a3e2fd3..a84ae00f7 100644 --- a/.github/workflows/build_source.yaml +++ b/.github/workflows/build_source.yaml @@ -15,7 +15,7 @@ jobs: fail-fast: false steps: - name: Setup ROS 2 - uses: ros-tooling/setup-ros@0.7.0 + uses: ros-tooling/setup-ros@v0.7 with: required-ros-distributions: foxy