From b213a86e9fa26c2e7371af89c425a7091ccdd066 Mon Sep 17 00:00:00 2001 From: Mark Watson Date: Sat, 18 Nov 2023 12:43:02 -0400 Subject: [PATCH] Fix CI --- .github/workflows/main.yml | 12 ++++++++---- README.md | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c6d5a50..cd3d52c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,9 +1,13 @@ -name: CI +name: C++ CI on: + push: + branches: + - main + - 'dev_**' pull_request: branches: - - '**' + - main jobs: build: @@ -16,7 +20,7 @@ jobs: uses: actions/checkout@v2 - name: Setup Environment - run: python scripts/bitbucket-pipeline-setup.py + run: python scripts/pipeline-setup.py - name: Build run: west build -b my_custom_board -s app -p @@ -31,7 +35,7 @@ jobs: uses: actions/checkout@v2 - name: Setup Environment - run: python scripts/bitbucket-pipeline-setup.py + run: python scripts/pipeline-setup.py - name: Run Tests run: west twister -T app/tests --integration diff --git a/README.md b/README.md index 1372a44..f808b57 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![C++ CI](https://github.com/markCwatson/zephyr-app/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/markCwatson/zephyr-app/actions/workflows/main.yml) +[![C++ CI](https://github.com/markCwatson/zephyr-app/actions/workflows/main.yml/badge.svg?branch=main)](https://github.com/markCwatson/zephyr-app/actions/workflows/main.yml) # Example Application for Zephyr RTOS