From 472b8f9ad7726b3c8318f5638159c34a7284f7cb Mon Sep 17 00:00:00 2001 From: Michael Shipman Date: Sat, 4 Nov 2023 23:49:31 -0400 Subject: [PATCH 1/5] Create build-BITSv5.yml --- .github/workflows/build-BITSv5.yml | 36 ++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/build-BITSv5.yml diff --git a/.github/workflows/build-BITSv5.yml b/.github/workflows/build-BITSv5.yml new file mode 100644 index 00000000..9f0ebb86 --- /dev/null +++ b/.github/workflows/build-BITSv5.yml @@ -0,0 +1,36 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the "master" branch + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + + # 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-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v3 + + # Runs a single command using the runners shell + - name: Run a one-line script + run: echo Hello, world! + + # Runs a set of commands using the runners shell + - name: Run a multi-line script + run: | + echo Add other actions to build, + echo test, and deploy your project. From f858d0f753ca29bb986bbd879c55abe563a35182 Mon Sep 17 00:00:00 2001 From: Michael Shipman Date: Sat, 4 Nov 2023 23:51:57 -0400 Subject: [PATCH 2/5] Update build-BITSv5.yml --- .github/workflows/build-BITSv5.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-BITSv5.yml b/.github/workflows/build-BITSv5.yml index 9f0ebb86..c3c11e99 100644 --- a/.github/workflows/build-BITSv5.yml +++ b/.github/workflows/build-BITSv5.yml @@ -25,12 +25,9 @@ jobs: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v3 - # Runs a single command using the runners shell - - name: Run a one-line script - run: echo Hello, world! - # Runs a set of commands using the runners shell - name: Run a multi-line script run: | - echo Add other actions to build, - echo test, and deploy your project. + apt update + apt install cmake gcc-arm-none-eabi libnewlib-arm-none-eabi build-essential + pwd From b59efd42908c8c3e80a35f5cb0815e77e2fddbf0 Mon Sep 17 00:00:00 2001 From: Michael Shipman Date: Sat, 4 Nov 2023 23:53:31 -0400 Subject: [PATCH 3/5] Update build-BITSv5.yml --- .github/workflows/build-BITSv5.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/build-BITSv5.yml b/.github/workflows/build-BITSv5.yml index c3c11e99..123c5129 100644 --- a/.github/workflows/build-BITSv5.yml +++ b/.github/workflows/build-BITSv5.yml @@ -28,6 +28,4 @@ jobs: # Runs a set of commands using the runners shell - name: Run a multi-line script run: | - apt update - apt install cmake gcc-arm-none-eabi libnewlib-arm-none-eabi build-essential pwd From 170d077c73bdf5f4c0ec3fe9bdebcbd650c674c6 Mon Sep 17 00:00:00 2001 From: Michael Shipman Date: Sat, 4 Nov 2023 23:55:21 -0400 Subject: [PATCH 4/5] Update build-BITSv5.yml --- .github/workflows/build-BITSv5.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build-BITSv5.yml b/.github/workflows/build-BITSv5.yml index 123c5129..e56e26c8 100644 --- a/.github/workflows/build-BITSv5.yml +++ b/.github/workflows/build-BITSv5.yml @@ -28,4 +28,6 @@ jobs: # Runs a set of commands using the runners shell - name: Run a multi-line script run: | + sudo apt update + sudo apt install -y cmake gcc-arm-none-eabi libnewlib-arm-none-eabi build-essential pwd From bcc2076fd4dabccf9e63ac27955de12b29e724a3 Mon Sep 17 00:00:00 2001 From: Michael Shipman Date: Sun, 5 Nov 2023 00:01:12 -0400 Subject: [PATCH 5/5] Update build-BITSv5.yml --- .github/workflows/build-BITSv5.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build-BITSv5.yml b/.github/workflows/build-BITSv5.yml index e56e26c8..40745fe6 100644 --- a/.github/workflows/build-BITSv5.yml +++ b/.github/workflows/build-BITSv5.yml @@ -31,3 +31,7 @@ jobs: sudo apt update sudo apt install -y cmake gcc-arm-none-eabi libnewlib-arm-none-eabi build-essential pwd + cd Code/BITS/BITSv5/test/build + export PICO_SDK_PATH=../../pico-sdk + cmake .. + make