Skip to content

Commit

Permalink
Create build_bmp_default.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sekigon-gonnoc authored Mar 19, 2021
1 parent 154cf58 commit da905d0
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/build_bmp_default.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit da905d0

Please sign in to comment.