From da905d0c39cc3f3f40a0d01e79dde8560c33d798 Mon Sep 17 00:00:00 2001 From: sekigon-gonnoc <43873124+sekigon-gonnoc@users.noreply.github.com> Date: Fri, 19 Mar 2021 20:15:39 +0900 Subject: [PATCH] Create build_bmp_default.yml --- .github/workflows/build_bmp_default.yml | 42 +++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .github/workflows/build_bmp_default.yml diff --git a/.github/workflows/build_bmp_default.yml b/.github/workflows/build_bmp_default.yml new file mode 100644 index 000000000000..9b1ae492591f --- /dev/null +++ b/.github/workflows/build_bmp_default.yml @@ -0,0 +1,42 @@ +# This is a basic workflow to help you get started with Actions + +name: Build default firmware for BLE Micro Pro + +# Controls when the action will run. +on: + # Triggers the workflow on push or pull request events but only for the dev/ble_micro_pro branch + push: + branches: [ dev/ble_micro_pro ] + pull_request: + branches: [ dev/ble_micro_pro ] + + # 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 + + container: qmkfm/base_container + + # 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@v2 + + - name: Install dependencies + run: pip3 install -r requirements.txt + + # Runs a single command using the runners shell + - name: Build firmware + run: make ble_micro_pro:default:uf2 + + - uses: actions/upload-artifact@v2 + with: + name: default_firmware_uf2 + path: ./*.uf2 +