From 13a85be929dca348901cbaa877f651964ea0ca34 Mon Sep 17 00:00:00 2001 From: nwdepatie Date: Thu, 28 Sep 2023 18:36:40 -0400 Subject: [PATCH 01/12] Adding test GitHub Action to ensure compatibility with dependencies --- .github/workflows/build-check.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/build-check.yml diff --git a/.github/workflows/build-check.yml b/.github/workflows/build-check.yml new file mode 100644 index 0000000..b0b61fe --- /dev/null +++ b/.github/workflows/build-check.yml @@ -0,0 +1,21 @@ +name: Build +on: [push] +jobs: + run-build: + runs-on: ubuntu-latest + container: + image: nwdepatie/ner-gcc-arm:latest + timeout-minutes: 10 + steps: + - name: Clone Cerberus + uses: actions/checkout@v2 + with: + repository: Cerberus + submodules: recursive + + - name: Execute Make + run: | + if ! make; then + echo "The application has failed to build." + exit 1 # This will cause the workflow to fail + fi From 076edb19bd14824909c195254f0b887875bc0ccd Mon Sep 17 00:00:00 2001 From: nwdepatie Date: Thu, 28 Sep 2023 18:46:40 -0400 Subject: [PATCH 02/12] Fixing syntax --- .github/workflows/build-check.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-check.yml b/.github/workflows/build-check.yml index b0b61fe..68415f7 100644 --- a/.github/workflows/build-check.yml +++ b/.github/workflows/build-check.yml @@ -8,10 +8,10 @@ jobs: timeout-minutes: 10 steps: - name: Clone Cerberus - uses: actions/checkout@v2 - with: - repository: Cerberus - submodules: recursive + uses: actions/checkout@v2 + with: + repository: Cerberus + submodules: recursive - name: Execute Make run: | From 3ee5c81b8fcde2774aff6e153d136120a080e664 Mon Sep 17 00:00:00 2001 From: nwdepatie Date: Thu, 28 Sep 2023 18:49:35 -0400 Subject: [PATCH 03/12] trying syntax --- .github/workflows/build-check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-check.yml b/.github/workflows/build-check.yml index 68415f7..be991b8 100644 --- a/.github/workflows/build-check.yml +++ b/.github/workflows/build-check.yml @@ -10,7 +10,7 @@ jobs: - name: Clone Cerberus uses: actions/checkout@v2 with: - repository: Cerberus + repository: Northeastern-Electric-Racing/Cerberus submodules: recursive - name: Execute Make From 4f9ce1d6ab6ec029e25671a369bf1d0397d71231 Mon Sep 17 00:00:00 2001 From: nwdepatie Date: Sun, 8 Oct 2023 16:12:38 -0400 Subject: [PATCH 04/12] Checking building again --- .github/workflows/build-check.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-check.yml b/.github/workflows/build-check.yml index be991b8..8393158 100644 --- a/.github/workflows/build-check.yml +++ b/.github/workflows/build-check.yml @@ -11,7 +11,6 @@ jobs: uses: actions/checkout@v2 with: repository: Northeastern-Electric-Racing/Cerberus - submodules: recursive - name: Execute Make run: | @@ -19,3 +18,7 @@ jobs: echo "The application has failed to build." exit 1 # This will cause the workflow to fail fi + + - name: List Files + run: | + ls -a From 16234eeb9e74152ceb0d1e769ca819d1ee8366e8 Mon Sep 17 00:00:00 2001 From: nwdepatie Date: Sun, 8 Oct 2023 16:14:49 -0400 Subject: [PATCH 05/12] trying submodules --- .github/workflows/build-check.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-check.yml b/.github/workflows/build-check.yml index 8393158..cb28b64 100644 --- a/.github/workflows/build-check.yml +++ b/.github/workflows/build-check.yml @@ -11,6 +11,7 @@ jobs: uses: actions/checkout@v2 with: repository: Northeastern-Electric-Racing/Cerberus + submodules: 'true' - name: Execute Make run: | From f0def7080bc46f8eb4a93ad298b9eeee868a3ed4 Mon Sep 17 00:00:00 2001 From: nwdepatie Date: Sun, 8 Oct 2023 16:16:55 -0400 Subject: [PATCH 06/12] Changing this description to be just a Cerberus build check --- .github/workflows/{build-check.yml => build-cerberus.yml} | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) rename .github/workflows/{build-check.yml => build-cerberus.yml} (87%) diff --git a/.github/workflows/build-check.yml b/.github/workflows/build-cerberus.yml similarity index 87% rename from .github/workflows/build-check.yml rename to .github/workflows/build-cerberus.yml index cb28b64..63adbde 100644 --- a/.github/workflows/build-check.yml +++ b/.github/workflows/build-cerberus.yml @@ -1,4 +1,4 @@ -name: Build +name: Build Cerberus on: [push] jobs: run-build: @@ -19,7 +19,3 @@ jobs: echo "The application has failed to build." exit 1 # This will cause the workflow to fail fi - - - name: List Files - run: | - ls -a From 1fac66e7b34de63f7463cba75338c48ba7b71546 Mon Sep 17 00:00:00 2001 From: nwdepatie Date: Thu, 12 Oct 2023 16:25:30 -0400 Subject: [PATCH 07/12] Trying to get this to actually build --- .github/workflows/build-cerberus.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-cerberus.yml b/.github/workflows/build-cerberus.yml index 63adbde..b678a5e 100644 --- a/.github/workflows/build-cerberus.yml +++ b/.github/workflows/build-cerberus.yml @@ -8,10 +8,14 @@ jobs: timeout-minutes: 10 steps: - name: Clone Cerberus - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: repository: Northeastern-Electric-Racing/Cerberus - submodules: 'true' + + - name: Clone Embedded-base + uses: actions/checkout@v3 + with: + path: "./Drivers" - name: Execute Make run: | From 23434a75f11677623ad58241e1ad79ff25a4e4a5 Mon Sep 17 00:00:00 2001 From: nwdepatie Date: Thu, 12 Oct 2023 16:27:48 -0400 Subject: [PATCH 08/12] Trying to get this to actually build --- .github/workflows/build-cerberus.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-cerberus.yml b/.github/workflows/build-cerberus.yml index b678a5e..51ec4af 100644 --- a/.github/workflows/build-cerberus.yml +++ b/.github/workflows/build-cerberus.yml @@ -15,6 +15,7 @@ jobs: - name: Clone Embedded-base uses: actions/checkout@v3 with: + repository: Northeastern-Electric-Racing/Embedded-Base path: "./Drivers" - name: Execute Make From 4b64f9bb9072c6aa687f53925f010d538e9a1009 Mon Sep 17 00:00:00 2001 From: nwdepatie Date: Thu, 12 Oct 2023 16:33:39 -0400 Subject: [PATCH 09/12] Trying to get this to actually build --- .github/workflows/build-cerberus.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-cerberus.yml b/.github/workflows/build-cerberus.yml index 51ec4af..2324ada 100644 --- a/.github/workflows/build-cerberus.yml +++ b/.github/workflows/build-cerberus.yml @@ -16,7 +16,7 @@ jobs: uses: actions/checkout@v3 with: repository: Northeastern-Electric-Racing/Embedded-Base - path: "./Drivers" + path: "./Drivers/" - name: Execute Make run: | From 8e1c05c1b42b13838d59141ac4708c5d52844b4d Mon Sep 17 00:00:00 2001 From: nwdepatie Date: Thu, 12 Oct 2023 16:41:22 -0400 Subject: [PATCH 10/12] Trying to get this to actually build --- .github/workflows/build-cerberus.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-cerberus.yml b/.github/workflows/build-cerberus.yml index 2324ada..79d44d8 100644 --- a/.github/workflows/build-cerberus.yml +++ b/.github/workflows/build-cerberus.yml @@ -15,9 +15,11 @@ jobs: - name: Clone Embedded-base uses: actions/checkout@v3 with: - repository: Northeastern-Electric-Racing/Embedded-Base path: "./Drivers/" + - name: "List files" + run: "tree" + - name: Execute Make run: | if ! make; then From 5257cf35e534cd7c415762e02b7e7e05b37a86f2 Mon Sep 17 00:00:00 2001 From: nwdepatie Date: Thu, 12 Oct 2023 16:42:32 -0400 Subject: [PATCH 11/12] Trying to get this to actually build --- .github/workflows/build-cerberus.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-cerberus.yml b/.github/workflows/build-cerberus.yml index 79d44d8..5b6fcd8 100644 --- a/.github/workflows/build-cerberus.yml +++ b/.github/workflows/build-cerberus.yml @@ -18,7 +18,7 @@ jobs: path: "./Drivers/" - name: "List files" - run: "tree" + run: "ls ./Drivers" - name: Execute Make run: | From 29c9347346e3988248bf87164a6146e449c206a3 Mon Sep 17 00:00:00 2001 From: nwdepatie Date: Thu, 12 Oct 2023 16:43:46 -0400 Subject: [PATCH 12/12] Trying to get this to actually build --- .github/workflows/build-cerberus.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-cerberus.yml b/.github/workflows/build-cerberus.yml index 5b6fcd8..df2b850 100644 --- a/.github/workflows/build-cerberus.yml +++ b/.github/workflows/build-cerberus.yml @@ -15,7 +15,7 @@ jobs: - name: Clone Embedded-base uses: actions/checkout@v3 with: - path: "./Drivers/" + path: "./Drivers/Embedded-Base" - name: "List files" run: "ls ./Drivers"