From 4bdf663118aca40fceacf433ac4df1fdf15422f1 Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Sun, 9 Aug 2020 19:21:22 +0000 Subject: [PATCH 01/46] Create main.yml --- .github/workflows/main.yml | 173 +++++++++++++++++++++++++++++++++++++ 1 file changed, 173 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..3785e195 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,173 @@ +name: Build + + + + + + + + + +on: + + + + push: + + + + pull_request: + + + + release: + + + + types: [published] + + + + + + + + +jobs: + + + + build: + + + + runs-on: ubuntu-latest + + + + steps: + + + + - name: Setup Python + + + + uses: actions/setup-python@v1 + + + + + + + + + - name: Setup Node.js + + + + uses: actions/setup-node@v1.1.0 + + + + + + + + - name: Checkout Code + + + + uses: actions/checkout@v1 + + + + with: + + + + submodules: true + + + + + + + + - name: Install Toolchains + + + + run: | + + + + pip3 install adafruit-nrfutil uritemplate requests + + + + wget https://www.nordicsemi.com/api/sitecore/Products/DownloadPlatform --post-data=fileid=8F19D314130548209E75EFFADD9348DB -O cli-tools.tar + + + + tar -xv -f cli-tools.tar + + + + echo "::add-path::$GITHUB_WORKSPACE/mergehex" + + + + npm install --global xpm + + + + xpm install --global @xpack-dev-tools/arm-none-eabi-gcc@latest + + + + echo "::add-path::`echo $HOME/opt/xPacks/@xpack-dev-tools/arm-none-eabi-gcc/*/.content/bin`" + + + + + + + + - name: Build + + + + run: python3 tools/build_all.py + + + + + + + + - name: Upload Release Asset + + + + if: github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested') + + + + working-directory: tools + + + + env: + + + + UPLOAD_URL: ${{ github.event.release.upload_url }} + + + + ADABOT_GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + + + run: "[ -z \"$ADABOT_GITHUB_ACCESS_TOKEN\" ] || python3 -u upload_release_files.py" From 05fcb5b3f4f488a895606b8d40e199b99a861a20 Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Sun, 9 Aug 2020 19:21:56 +0000 Subject: [PATCH 02/46] Delete main.yml --- .github/workflows/main.yml | 173 ------------------------------------- 1 file changed, 173 deletions(-) delete mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index 3785e195..00000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,173 +0,0 @@ -name: Build - - - - - - - - - -on: - - - - push: - - - - pull_request: - - - - release: - - - - types: [published] - - - - - - - - -jobs: - - - - build: - - - - runs-on: ubuntu-latest - - - - steps: - - - - - name: Setup Python - - - - uses: actions/setup-python@v1 - - - - - - - - - - name: Setup Node.js - - - - uses: actions/setup-node@v1.1.0 - - - - - - - - - name: Checkout Code - - - - uses: actions/checkout@v1 - - - - with: - - - - submodules: true - - - - - - - - - name: Install Toolchains - - - - run: | - - - - pip3 install adafruit-nrfutil uritemplate requests - - - - wget https://www.nordicsemi.com/api/sitecore/Products/DownloadPlatform --post-data=fileid=8F19D314130548209E75EFFADD9348DB -O cli-tools.tar - - - - tar -xv -f cli-tools.tar - - - - echo "::add-path::$GITHUB_WORKSPACE/mergehex" - - - - npm install --global xpm - - - - xpm install --global @xpack-dev-tools/arm-none-eabi-gcc@latest - - - - echo "::add-path::`echo $HOME/opt/xPacks/@xpack-dev-tools/arm-none-eabi-gcc/*/.content/bin`" - - - - - - - - - name: Build - - - - run: python3 tools/build_all.py - - - - - - - - - name: Upload Release Asset - - - - if: github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested') - - - - working-directory: tools - - - - env: - - - - UPLOAD_URL: ${{ github.event.release.upload_url }} - - - - ADABOT_GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - - run: "[ -z \"$ADABOT_GITHUB_ACCESS_TOKEN\" ] || python3 -u upload_release_files.py" From 55157e7caa6b7ef6ddeae5988025e48c66df08a3 Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Sun, 9 Aug 2020 19:32:51 +0000 Subject: [PATCH 03/46] Update boards.c --- src/boards.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/boards.c b/src/boards.c index 554dbfc3..b03d0c47 100644 --- a/src/boards.c +++ b/src/boards.c @@ -28,7 +28,7 @@ #include "nrf_wdt.h" #include "app_scheduler.h" #include "app_timer.h" -#include "pnvram.h" +#include //--------------------------------------------------------------------+ // MACRO TYPEDEF CONSTANT ENUM DECLARATION From 6e0d4b5841c8056e208ad05a571ad82f9e75bb8b Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Sun, 9 Aug 2020 23:00:08 +0000 Subject: [PATCH 04/46] Update boards.h --- src/boards.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/boards.h b/src/boards.h index f62cb1ac..0c857eec 100644 --- a/src/boards.h +++ b/src/boards.h @@ -32,6 +32,8 @@ #include "board.h" +#include + #if !defined(BUTTON_DFU) && BUTTONS_NUMBER > 0 #define BUTTON_DFU BUTTON_1 #endif From f9e53a37bc9f36e1ec91985a0d3bb7d7f36e576a Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Sun, 9 Aug 2020 23:42:50 +0000 Subject: [PATCH 05/46] Update boards.c --- src/boards.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/boards.c b/src/boards.c index b03d0c47..6708ff47 100644 --- a/src/boards.c +++ b/src/boards.c @@ -28,7 +28,7 @@ #include "nrf_wdt.h" #include "app_scheduler.h" #include "app_timer.h" -#include +//#include //--------------------------------------------------------------------+ // MACRO TYPEDEF CONSTANT ENUM DECLARATION From 1ba9453e2e643e7bfba9eb040920f9fe31251e2c Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Mon, 10 Aug 2020 14:07:38 +0000 Subject: [PATCH 06/46] Update boards.c --- src/boards.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/boards.c b/src/boards.c index 6708ff47..a38850ac 100644 --- a/src/boards.c +++ b/src/boards.c @@ -158,7 +158,7 @@ static uint32_t _long_press_count = 0; void SysTick_Handler(void) { _systick_count++; - pnvram_add_ms(pnvram, 1); + pnvram_add_ms(pnvram::pnvram, 1); #if LEDS_NUMBER > 0 led_tick(); #endif From d321926a07f8bb542b6649077fba7c1810a84ad2 Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Mon, 10 Aug 2020 14:16:03 +0000 Subject: [PATCH 07/46] Update boards.h --- src/boards.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/boards.h b/src/boards.h index 0c857eec..f62cb1ac 100644 --- a/src/boards.h +++ b/src/boards.h @@ -32,8 +32,6 @@ #include "board.h" -#include - #if !defined(BUTTON_DFU) && BUTTONS_NUMBER > 0 #define BUTTON_DFU BUTTON_1 #endif From 3909816e6bdf17b18e2929798e1e31b2370f3a2a Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Mon, 10 Aug 2020 14:17:01 +0000 Subject: [PATCH 08/46] Update boards.c --- src/boards.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/boards.c b/src/boards.c index a38850ac..b2054c3c 100644 --- a/src/boards.c +++ b/src/boards.c @@ -28,7 +28,7 @@ #include "nrf_wdt.h" #include "app_scheduler.h" #include "app_timer.h" -//#include +#include "pnvram.h" //--------------------------------------------------------------------+ // MACRO TYPEDEF CONSTANT ENUM DECLARATION From abe17725dbce884d7c0d31bb8eb8c0e538dad9c1 Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Mon, 10 Aug 2020 14:32:39 +0000 Subject: [PATCH 09/46] Update boards.c --- src/boards.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/boards.c b/src/boards.c index b2054c3c..554dbfc3 100644 --- a/src/boards.c +++ b/src/boards.c @@ -158,7 +158,7 @@ static uint32_t _long_press_count = 0; void SysTick_Handler(void) { _systick_count++; - pnvram_add_ms(pnvram::pnvram, 1); + pnvram_add_ms(pnvram, 1); #if LEDS_NUMBER > 0 led_tick(); #endif From 7a0f6b31c573344909bbae24b77ec60ac86a83ca Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Mon, 10 Aug 2020 15:32:59 +0000 Subject: [PATCH 10/46] Update .gitignore --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 2d654b9d..56505bc9 100644 --- a/.gitignore +++ b/.gitignore @@ -57,3 +57,6 @@ bin/ *.emSession *.jlink .*.swp + +# Boards with undefined pnvram +src/electronut_labs_papyr/ From c399036d1ae6d89b96633abd4e0bdbc4782e8c0f Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Mon, 10 Aug 2020 15:37:11 +0000 Subject: [PATCH 11/46] Update .gitignore --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 56505bc9..6103f97b 100644 --- a/.gitignore +++ b/.gitignore @@ -59,4 +59,4 @@ bin/ .*.swp # Boards with undefined pnvram -src/electronut_labs_papyr/ +src/electronut_labs_papyr From 6a7e697551618570a0139b6256aac15411f66ef9 Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Mon, 10 Aug 2020 15:37:40 +0000 Subject: [PATCH 12/46] Update .gitignore --- .gitignore | 3 --- 1 file changed, 3 deletions(-) diff --git a/.gitignore b/.gitignore index 6103f97b..2d654b9d 100644 --- a/.gitignore +++ b/.gitignore @@ -57,6 +57,3 @@ bin/ *.emSession *.jlink .*.swp - -# Boards with undefined pnvram -src/electronut_labs_papyr From 26fc9b37ab9d64432f4485c6ff4bff58193b9f47 Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Mon, 10 Aug 2020 15:41:38 +0000 Subject: [PATCH 13/46] Update boards.c --- src/boards.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/boards.c b/src/boards.c index 554dbfc3..1c151077 100644 --- a/src/boards.c +++ b/src/boards.c @@ -158,7 +158,9 @@ static uint32_t _long_press_count = 0; void SysTick_Handler(void) { _systick_count++; +#ifdef pnvram pnvram_add_ms(pnvram, 1); +#endif #if LEDS_NUMBER > 0 led_tick(); #endif From f3658cc55c94632ae09b9532b431d99fcd389ceb Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Mon, 10 Aug 2020 16:06:54 +0000 Subject: [PATCH 14/46] Update githubci.yml --- .github/workflows/githubci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/githubci.yml b/.github/workflows/githubci.yml index a6838454..b1209aea 100644 --- a/.github/workflows/githubci.yml +++ b/.github/workflows/githubci.yml @@ -35,7 +35,7 @@ jobs: run: python3 tools/build_all.py - name: Upload Release Asset - if: github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested') + #if: github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested') working-directory: tools env: UPLOAD_URL: ${{ github.event.release.upload_url }} From 788c79384931cea8adf4808964c372a89c709bc9 Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Mon, 10 Aug 2020 16:17:43 +0000 Subject: [PATCH 15/46] Update githubci.yml --- .github/workflows/githubci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/githubci.yml b/.github/workflows/githubci.yml index b1209aea..a6838454 100644 --- a/.github/workflows/githubci.yml +++ b/.github/workflows/githubci.yml @@ -35,7 +35,7 @@ jobs: run: python3 tools/build_all.py - name: Upload Release Asset - #if: github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested') + if: github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested') working-directory: tools env: UPLOAD_URL: ${{ github.event.release.upload_url }} From 0cf05250a07164251075b54f9a49b664ad201dab Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Mon, 10 Aug 2020 16:19:22 +0000 Subject: [PATCH 16/46] Create github-example.yml --- .github/github-example.yml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/github-example.yml diff --git a/.github/github-example.yml b/.github/github-example.yml new file mode 100644 index 00000000..32f8f553 --- /dev/null +++ b/.github/github-example.yml @@ -0,0 +1,38 @@ +on: + push: + # Sequence of patterns matched against refs/tags + tags: + - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 + +name: Upload Release Asset + +jobs: + build: + name: Upload Release Asset + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + - name: Build project # This would actually build your project, using zip for an example artifact + run: | + zip --junk-paths my-artifact README.md + - name: Create Release + id: create_release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: ${{ github.ref }} + release_name: Release ${{ github.ref }} + draft: false + prerelease: false + - name: Upload Release Asset + id: upload-release-asset + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps + asset_path: ./my-artifact.zip + asset_name: my-artifact.zip + asset_content_type: application/zip From 1e38804716d88c361c2164797a2d007e930c2d46 Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Mon, 10 Aug 2020 16:21:20 +0000 Subject: [PATCH 17/46] Rename .github/github-example.yml to .github/workflows/github-example.yml --- .github/{ => workflows}/github-example.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/{ => workflows}/github-example.yml (100%) diff --git a/.github/github-example.yml b/.github/workflows/github-example.yml similarity index 100% rename from .github/github-example.yml rename to .github/workflows/github-example.yml From 5433b080894cbc600670e6c032a4d53f7a018e18 Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Mon, 10 Aug 2020 16:41:02 +0000 Subject: [PATCH 18/46] Update githubci.yml --- .github/workflows/githubci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/githubci.yml b/.github/workflows/githubci.yml index a6838454..e339e5a4 100644 --- a/.github/workflows/githubci.yml +++ b/.github/workflows/githubci.yml @@ -32,13 +32,15 @@ jobs: echo "::add-path::`echo $HOME/opt/xPacks/@xpack-dev-tools/arm-none-eabi-gcc/*/.content/bin`" - name: Build + id: build run: python3 tools/build_all.py - name: Upload Release Asset if: github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested') working-directory: tools env: - UPLOAD_URL: ${{ github.event.release.upload_url }} + #UPLOAD_URL: ${{ github.event.release.upload_url }} + UPLOAD_URL: ${{ steps.build.outputs.upload_url }}: ADABOT_GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: "[ -z \"$ADABOT_GITHUB_ACCESS_TOKEN\" ] || python3 -u upload_release_files.py" From 29eef15d6a714113fcc12df0bff6ec0e3e155cf2 Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Mon, 10 Aug 2020 16:48:29 +0000 Subject: [PATCH 19/46] Update githubci.yml --- .github/workflows/githubci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/githubci.yml b/.github/workflows/githubci.yml index e339e5a4..2e1c1a12 100644 --- a/.github/workflows/githubci.yml +++ b/.github/workflows/githubci.yml @@ -40,7 +40,7 @@ jobs: working-directory: tools env: #UPLOAD_URL: ${{ github.event.release.upload_url }} - UPLOAD_URL: ${{ steps.build.outputs.upload_url }}: + UPLOAD_URL: ${{ steps.build.outputs.upload_url }} ADABOT_GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: "[ -z \"$ADABOT_GITHUB_ACCESS_TOKEN\" ] || python3 -u upload_release_files.py" From d0942b53baba54eb26d9e0082537490352170c60 Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Tue, 11 Aug 2020 04:15:39 +0000 Subject: [PATCH 20/46] Update githubci.yml --- .github/workflows/githubci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/githubci.yml b/.github/workflows/githubci.yml index 2e1c1a12..a6838454 100644 --- a/.github/workflows/githubci.yml +++ b/.github/workflows/githubci.yml @@ -32,15 +32,13 @@ jobs: echo "::add-path::`echo $HOME/opt/xPacks/@xpack-dev-tools/arm-none-eabi-gcc/*/.content/bin`" - name: Build - id: build run: python3 tools/build_all.py - name: Upload Release Asset if: github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested') working-directory: tools env: - #UPLOAD_URL: ${{ github.event.release.upload_url }} - UPLOAD_URL: ${{ steps.build.outputs.upload_url }} + UPLOAD_URL: ${{ github.event.release.upload_url }} ADABOT_GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: "[ -z \"$ADABOT_GITHUB_ACCESS_TOKEN\" ] || python3 -u upload_release_files.py" From 5f2ac8d622e51d747ba415155e4b3bef9f51adfa Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Tue, 11 Aug 2020 04:20:58 +0000 Subject: [PATCH 21/46] Update githubci.yml --- .github/workflows/githubci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/githubci.yml b/.github/workflows/githubci.yml index a6838454..b1209aea 100644 --- a/.github/workflows/githubci.yml +++ b/.github/workflows/githubci.yml @@ -35,7 +35,7 @@ jobs: run: python3 tools/build_all.py - name: Upload Release Asset - if: github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested') + #if: github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested') working-directory: tools env: UPLOAD_URL: ${{ github.event.release.upload_url }} From 4ca9209b83bd9122cc875336e2483f45203ee40b Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Tue, 11 Aug 2020 04:31:48 +0000 Subject: [PATCH 22/46] Update upload_release_files.py --- tools/upload_release_files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/upload_release_files.py b/tools/upload_release_files.py index 35abd50a..659b8bcb 100755 --- a/tools/upload_release_files.py +++ b/tools/upload_release_files.py @@ -21,7 +21,7 @@ url_vars["label"] = label url = uritemplate.expand(os.environ["UPLOAD_URL"], url_vars) headers = {"content-type": "application/octet-stream"} - print(url) + print("url - " + url) with open(full_filename, "rb") as f: response = github.post(url, data=f, headers=headers) if not response.ok: From 4c18455f99956d7b86338835fbb54b813bbc84b1 Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Tue, 11 Aug 2020 04:48:23 +0000 Subject: [PATCH 23/46] Update githubci.yml --- .github/workflows/githubci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/githubci.yml b/.github/workflows/githubci.yml index b1209aea..e53b8c42 100644 --- a/.github/workflows/githubci.yml +++ b/.github/workflows/githubci.yml @@ -36,6 +36,7 @@ jobs: - name: Upload Release Asset #if: github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested') + if: github.event_name != '' working-directory: tools env: UPLOAD_URL: ${{ github.event.release.upload_url }} From 17dcb5d91850ce37ee442f37b1ab7db29b65af3e Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Tue, 11 Aug 2020 05:06:35 +0000 Subject: [PATCH 24/46] Update githubci.yml --- .github/workflows/githubci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/githubci.yml b/.github/workflows/githubci.yml index e53b8c42..ae987d1b 100644 --- a/.github/workflows/githubci.yml +++ b/.github/workflows/githubci.yml @@ -30,16 +30,16 @@ jobs: npm install --global xpm xpm install --global @xpack-dev-tools/arm-none-eabi-gcc@latest echo "::add-path::`echo $HOME/opt/xPacks/@xpack-dev-tools/arm-none-eabi-gcc/*/.content/bin`" - + - name: Build + id: build_it_all run: python3 tools/build_all.py - name: Upload Release Asset - #if: github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested') - if: github.event_name != '' + if: github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested') working-directory: tools env: - UPLOAD_URL: ${{ github.event.release.upload_url }} + UPLOAD_URL: ${{ steps.build_it_all.outputs.upload_url }} + # UPLOAD_URL: ${{ github.event.release.upload_url }} ADABOT_GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: "[ -z \"$ADABOT_GITHUB_ACCESS_TOKEN\" ] || python3 -u upload_release_files.py" - From aa9b9c409a1afd264fd2c4d602446da161a71fe4 Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Tue, 11 Aug 2020 05:18:09 +0000 Subject: [PATCH 25/46] Update githubci.yml --- .github/workflows/githubci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/githubci.yml b/.github/workflows/githubci.yml index ae987d1b..ea711ef2 100644 --- a/.github/workflows/githubci.yml +++ b/.github/workflows/githubci.yml @@ -36,7 +36,7 @@ jobs: run: python3 tools/build_all.py - name: Upload Release Asset - if: github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested') + #if: github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested') working-directory: tools env: UPLOAD_URL: ${{ steps.build_it_all.outputs.upload_url }} From ee12bc1b554a9376e9e64175e093cf5462390728 Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Tue, 11 Aug 2020 16:07:21 +0000 Subject: [PATCH 26/46] Update githubci.yml --- .github/workflows/githubci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/githubci.yml b/.github/workflows/githubci.yml index ea711ef2..2b0e3352 100644 --- a/.github/workflows/githubci.yml +++ b/.github/workflows/githubci.yml @@ -41,5 +41,6 @@ jobs: env: UPLOAD_URL: ${{ steps.build_it_all.outputs.upload_url }} # UPLOAD_URL: ${{ github.event.release.upload_url }} - ADABOT_GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: "[ -z \"$ADABOT_GITHUB_ACCESS_TOKEN\" ] || python3 -u upload_release_files.py" + run: echo $UPLOAD_URL + # ADABOT_GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} + #run: "[ -z \"$ADABOT_GITHUB_ACCESS_TOKEN\" ] || python3 -u upload_release_files.py" From 4e727700908daa36b5a65e84af75d8dd357f81bc Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Tue, 11 Aug 2020 16:08:05 +0000 Subject: [PATCH 27/46] Update githubci.yml --- .github/workflows/githubci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/githubci.yml b/.github/workflows/githubci.yml index 2b0e3352..78c86963 100644 --- a/.github/workflows/githubci.yml +++ b/.github/workflows/githubci.yml @@ -42,5 +42,5 @@ jobs: UPLOAD_URL: ${{ steps.build_it_all.outputs.upload_url }} # UPLOAD_URL: ${{ github.event.release.upload_url }} run: echo $UPLOAD_URL - # ADABOT_GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} - #run: "[ -z \"$ADABOT_GITHUB_ACCESS_TOKEN\" ] || python3 -u upload_release_files.py" + ADABOT_GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: "[ -z \"$ADABOT_GITHUB_ACCESS_TOKEN\" ] || python3 -u upload_release_files.py" From 56d57ab31cade0e4561139ae7ed05b07baaf3002 Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Tue, 11 Aug 2020 16:14:13 +0000 Subject: [PATCH 28/46] Update githubci.yml --- .github/workflows/githubci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/githubci.yml b/.github/workflows/githubci.yml index 78c86963..e2ccb38a 100644 --- a/.github/workflows/githubci.yml +++ b/.github/workflows/githubci.yml @@ -33,7 +33,9 @@ jobs: - name: Build id: build_it_all - run: python3 tools/build_all.py + run: | + python3 tools/build_all.py + ls -l - name: Upload Release Asset #if: github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested') From a58095e97fbd61d291f1a790988d6d36d2241cea Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Tue, 11 Aug 2020 16:28:42 +0000 Subject: [PATCH 29/46] Update githubci.yml --- .github/workflows/githubci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/githubci.yml b/.github/workflows/githubci.yml index e2ccb38a..36827ae3 100644 --- a/.github/workflows/githubci.yml +++ b/.github/workflows/githubci.yml @@ -39,10 +39,10 @@ jobs: - name: Upload Release Asset #if: github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested') - working-directory: tools + #working-directory: tools env: UPLOAD_URL: ${{ steps.build_it_all.outputs.upload_url }} # UPLOAD_URL: ${{ github.event.release.upload_url }} run: echo $UPLOAD_URL ADABOT_GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: "[ -z \"$ADABOT_GITHUB_ACCESS_TOKEN\" ] || python3 -u upload_release_files.py" + run: "[ -z \"$ADABOT_GITHUB_ACCESS_TOKEN\" ] || python3 -u tools/upload_release_files.py" From bee09979cbe6617a24aef56d9a056c046cee0202 Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Tue, 11 Aug 2020 16:34:04 +0000 Subject: [PATCH 30/46] Update githubci.yml --- .github/workflows/githubci.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/githubci.yml b/.github/workflows/githubci.yml index 36827ae3..84f086e5 100644 --- a/.github/workflows/githubci.yml +++ b/.github/workflows/githubci.yml @@ -30,19 +30,15 @@ jobs: npm install --global xpm xpm install --global @xpack-dev-tools/arm-none-eabi-gcc@latest echo "::add-path::`echo $HOME/opt/xPacks/@xpack-dev-tools/arm-none-eabi-gcc/*/.content/bin`" - + - name: Build - id: build_it_all - run: | - python3 tools/build_all.py - ls -l + run: python3 tools/build_all.py - name: Upload Release Asset - #if: github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested') + if: github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested') #working-directory: tools env: - UPLOAD_URL: ${{ steps.build_it_all.outputs.upload_url }} - # UPLOAD_URL: ${{ github.event.release.upload_url }} - run: echo $UPLOAD_URL + UPLOAD_URL: ${{ github.event.release.upload_url }} ADABOT_GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: "[ -z \"$ADABOT_GITHUB_ACCESS_TOKEN\" ] || python3 -u tools/upload_release_files.py" + From 7e2110e90cdf33d8f05e6b2b55f1fea62f37a3ef Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Tue, 11 Aug 2020 16:39:47 +0000 Subject: [PATCH 31/46] Update githubci.yml --- .github/workflows/githubci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/githubci.yml b/.github/workflows/githubci.yml index 84f086e5..adc87111 100644 --- a/.github/workflows/githubci.yml +++ b/.github/workflows/githubci.yml @@ -35,7 +35,7 @@ jobs: run: python3 tools/build_all.py - name: Upload Release Asset - if: github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested') + #if: github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested') #working-directory: tools env: UPLOAD_URL: ${{ github.event.release.upload_url }} From 65d9cf543dbf349487c531c0dc877ec290b9ebce Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Tue, 11 Aug 2020 16:54:44 +0000 Subject: [PATCH 32/46] Update githubci.yml --- .github/workflows/githubci.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/githubci.yml b/.github/workflows/githubci.yml index adc87111..075c874c 100644 --- a/.github/workflows/githubci.yml +++ b/.github/workflows/githubci.yml @@ -35,10 +35,15 @@ jobs: run: python3 tools/build_all.py - name: Upload Release Asset - #if: github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested') - #working-directory: tools + if: github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested') env: UPLOAD_URL: ${{ github.event.release.upload_url }} ADABOT_GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: "[ -z \"$ADABOT_GITHUB_ACCESS_TOKEN\" ] || python3 -u tools/upload_release_files.py" + - name: Upload Artifacts + if: github.event_name != 'release' + uses: actions/upload-artifacts@v2 + with: + name: bin-artifacts + path: bin/ From 90be6d4a6f5906c61ee635f10774723edef4aac2 Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Tue, 11 Aug 2020 16:55:58 +0000 Subject: [PATCH 33/46] Update githubci.yml --- .github/workflows/githubci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/githubci.yml b/.github/workflows/githubci.yml index 075c874c..b671fbae 100644 --- a/.github/workflows/githubci.yml +++ b/.github/workflows/githubci.yml @@ -43,7 +43,7 @@ jobs: - name: Upload Artifacts if: github.event_name != 'release' - uses: actions/upload-artifacts@v2 + uses: actions/upload-artifact@v2 with: name: bin-artifacts path: bin/ From 9673d88c5ef70e73379e94d9f9b32d370b296407 Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Tue, 11 Aug 2020 17:07:57 +0000 Subject: [PATCH 34/46] Delete github-example.yml --- .github/workflows/github-example.yml | 38 ---------------------------- 1 file changed, 38 deletions(-) delete mode 100644 .github/workflows/github-example.yml diff --git a/.github/workflows/github-example.yml b/.github/workflows/github-example.yml deleted file mode 100644 index 32f8f553..00000000 --- a/.github/workflows/github-example.yml +++ /dev/null @@ -1,38 +0,0 @@ -on: - push: - # Sequence of patterns matched against refs/tags - tags: - - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 - -name: Upload Release Asset - -jobs: - build: - name: Upload Release Asset - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v2 - - name: Build project # This would actually build your project, using zip for an example artifact - run: | - zip --junk-paths my-artifact README.md - - name: Create Release - id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: ${{ github.ref }} - release_name: Release ${{ github.ref }} - draft: false - prerelease: false - - name: Upload Release Asset - id: upload-release-asset - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps - asset_path: ./my-artifact.zip - asset_name: my-artifact.zip - asset_content_type: application/zip From e3fd0237033da1487e68392ec1484e3f4d9e708c Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Tue, 11 Aug 2020 17:09:47 +0000 Subject: [PATCH 35/46] Update boards.c --- src/boards.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/boards.c b/src/boards.c index 1c151077..554dbfc3 100644 --- a/src/boards.c +++ b/src/boards.c @@ -158,9 +158,7 @@ static uint32_t _long_press_count = 0; void SysTick_Handler(void) { _systick_count++; -#ifdef pnvram pnvram_add_ms(pnvram, 1); -#endif #if LEDS_NUMBER > 0 led_tick(); #endif From 9afc00979d5805f210462a7786cf2f43f7c32301 Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Tue, 11 Aug 2020 17:10:47 +0000 Subject: [PATCH 36/46] Update upload_release_files.py --- tools/upload_release_files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/upload_release_files.py b/tools/upload_release_files.py index 659b8bcb..35abd50a 100755 --- a/tools/upload_release_files.py +++ b/tools/upload_release_files.py @@ -21,7 +21,7 @@ url_vars["label"] = label url = uritemplate.expand(os.environ["UPLOAD_URL"], url_vars) headers = {"content-type": "application/octet-stream"} - print("url - " + url) + print(url) with open(full_filename, "rb") as f: response = github.post(url, data=f, headers=headers) if not response.ok: From 73e643e322fdf29f3f46142de0d2887af9762ee0 Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Tue, 11 Aug 2020 17:20:03 +0000 Subject: [PATCH 37/46] Update githubci.yml --- .github/workflows/githubci.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/githubci.yml b/.github/workflows/githubci.yml index b671fbae..a6838454 100644 --- a/.github/workflows/githubci.yml +++ b/.github/workflows/githubci.yml @@ -36,14 +36,9 @@ jobs: - name: Upload Release Asset if: github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested') + working-directory: tools env: UPLOAD_URL: ${{ github.event.release.upload_url }} ADABOT_GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: "[ -z \"$ADABOT_GITHUB_ACCESS_TOKEN\" ] || python3 -u tools/upload_release_files.py" + run: "[ -z \"$ADABOT_GITHUB_ACCESS_TOKEN\" ] || python3 -u upload_release_files.py" - - name: Upload Artifacts - if: github.event_name != 'release' - uses: actions/upload-artifact@v2 - with: - name: bin-artifacts - path: bin/ From e34a83fb2377e464e7df1267caf4deb0d1f46a64 Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Tue, 11 Aug 2020 17:24:05 +0000 Subject: [PATCH 38/46] added artifacts and fixed release call Allows artifacts to be downloaded when not building a release. Useful for hobbyists. Fixed a call to 'upload_release_files.py' not having access to the /bin directory --- .github/workflows/githubci.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/githubci.yml b/.github/workflows/githubci.yml index a6838454..b671fbae 100644 --- a/.github/workflows/githubci.yml +++ b/.github/workflows/githubci.yml @@ -36,9 +36,14 @@ jobs: - name: Upload Release Asset if: github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested') - working-directory: tools env: UPLOAD_URL: ${{ github.event.release.upload_url }} ADABOT_GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: "[ -z \"$ADABOT_GITHUB_ACCESS_TOKEN\" ] || python3 -u upload_release_files.py" + run: "[ -z \"$ADABOT_GITHUB_ACCESS_TOKEN\" ] || python3 -u tools/upload_release_files.py" + - name: Upload Artifacts + if: github.event_name != 'release' + uses: actions/upload-artifact@v2 + with: + name: bin-artifacts + path: bin/ From 48522a31b2057f166bbdc908fd954d447a647e0b Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Tue, 11 Aug 2020 17:33:28 +0000 Subject: [PATCH 39/46] Update boards.c --- src/boards.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/boards.c b/src/boards.c index 554dbfc3..5a46b553 100644 --- a/src/boards.c +++ b/src/boards.c @@ -158,7 +158,9 @@ static uint32_t _long_press_count = 0; void SysTick_Handler(void) { _systick_count++; +#ifndef PNVRAM pnvram_add_ms(pnvram, 1); +#endif #if LEDS_NUMBER > 0 led_tick(); #endif From 26f18ee037d5359e00dd65e975025dea77bb2101 Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Tue, 11 Aug 2020 17:40:13 +0000 Subject: [PATCH 40/46] Update boards.c --- src/boards.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/boards.c b/src/boards.c index 5a46b553..554dbfc3 100644 --- a/src/boards.c +++ b/src/boards.c @@ -158,9 +158,7 @@ static uint32_t _long_press_count = 0; void SysTick_Handler(void) { _systick_count++; -#ifndef PNVRAM pnvram_add_ms(pnvram, 1); -#endif #if LEDS_NUMBER > 0 led_tick(); #endif From 7e6d739629ebf2ed794b58298f83e131e6b190f1 Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Tue, 11 Aug 2020 17:42:24 +0000 Subject: [PATCH 41/46] prevented call to undefined variable 'pnvram' is only defined for nrf52832 boards. Builds for other boards were preventing the entire project from building on Github Actions. --- src/boards.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/boards.c b/src/boards.c index 554dbfc3..5a46b553 100644 --- a/src/boards.c +++ b/src/boards.c @@ -158,7 +158,9 @@ static uint32_t _long_press_count = 0; void SysTick_Handler(void) { _systick_count++; +#ifndef PNVRAM pnvram_add_ms(pnvram, 1); +#endif #if LEDS_NUMBER > 0 led_tick(); #endif From f67d63d9b5794388b47b6a3823eff90c8efcf817 Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Tue, 11 Aug 2020 17:45:45 +0000 Subject: [PATCH 42/46] Update boards.c --- src/boards.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/boards.c b/src/boards.c index 5a46b553..fd10b331 100644 --- a/src/boards.c +++ b/src/boards.c @@ -158,7 +158,7 @@ static uint32_t _long_press_count = 0; void SysTick_Handler(void) { _systick_count++; -#ifndef PNVRAM +#ifdef PNVRAM pnvram_add_ms(pnvram, 1); #endif #if LEDS_NUMBER > 0 From 0bfd1a2b8f6ae11353c9f6d3440e8d18a06f4729 Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Tue, 11 Aug 2020 18:35:05 +0000 Subject: [PATCH 43/46] prevents error when successes > 0 --- tools/build_all.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/build_all.py b/tools/build_all.py index 8dd36802..62027a77 100644 --- a/tools/build_all.py +++ b/tools/build_all.py @@ -66,5 +66,10 @@ print(build_separator) print("Build Sumamary: {} \033[32msucceeded\033[0m, {} \033[31mfailed\033[0m and took {:.2f}s".format(success_count, fail_count, total_time)) print(build_separator) +print('Exit status:' + exit_status) -sys.exit(exit_status) +if success_count > 0: + print('Exit status:' + exit_status) + sys.exit(0) +else: + sys.exit(exit_status) From 5190603c09ae8543a9d1ecca077aada76c7a1b02 Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Tue, 11 Aug 2020 18:36:08 +0000 Subject: [PATCH 44/46] Update boards.c --- src/boards.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/boards.c b/src/boards.c index fd10b331..554dbfc3 100644 --- a/src/boards.c +++ b/src/boards.c @@ -158,9 +158,7 @@ static uint32_t _long_press_count = 0; void SysTick_Handler(void) { _systick_count++; -#ifdef PNVRAM pnvram_add_ms(pnvram, 1); -#endif #if LEDS_NUMBER > 0 led_tick(); #endif From fec870fb0799c80dcef127e8351225729923dd97 Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Tue, 11 Aug 2020 18:39:32 +0000 Subject: [PATCH 45/46] Update build_all.py --- tools/build_all.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/build_all.py b/tools/build_all.py index 62027a77..a9d00a21 100644 --- a/tools/build_all.py +++ b/tools/build_all.py @@ -69,7 +69,7 @@ print('Exit status:' + exit_status) if success_count > 0: - print('Exit status:' + exit_status) + print('Exit status:' + str(exit_status)) sys.exit(0) else: sys.exit(exit_status) From 64fb852bacd664b11ac1e24aadb3d7b4c0f5d5fe Mon Sep 17 00:00:00 2001 From: LatantSea <69185230+LatantSea@users.noreply.github.com> Date: Tue, 11 Aug 2020 18:43:05 +0000 Subject: [PATCH 46/46] Update build_all.py --- tools/build_all.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/build_all.py b/tools/build_all.py index a9d00a21..5d0b3af5 100644 --- a/tools/build_all.py +++ b/tools/build_all.py @@ -66,7 +66,6 @@ print(build_separator) print("Build Sumamary: {} \033[32msucceeded\033[0m, {} \033[31mfailed\033[0m and took {:.2f}s".format(success_count, fail_count, total_time)) print(build_separator) -print('Exit status:' + exit_status) if success_count > 0: print('Exit status:' + str(exit_status))