summaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
blob: 55b0fac7d81c42e4937ac532533b3125c8d1f2ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
on: [push]

jobs:
  build:
    runs-on: ubuntu-latest
    name: Basic build of the ZMK firmware
    steps:
      # To use this repository's private action,
      # you must check out the repository
      - name: Checkout
        uses: actions/checkout@v2
      - name: West Init
        uses: ./.github/actions/zephyr-west # Uses an action in the root directory
        id: west-init
        with:
          command: 'init'
          command-args: '-l app'
      - name: West Update
        uses: ./.github/actions/zephyr-west # Uses an action in the root directory
        id: west-update
        with:
          command: 'update'
      - name: West Config Zephyr Base
        uses: ./.github/actions/zephyr-west # Uses an action in the root directory
        id: west-config
        with:
          command: 'config'
          command-args: '--global zephyr.base-prefer configfile'
      - name: West Zephyr Export
        uses: ./.github/actions/zephyr-west # Uses an action in the root directory
        id: west-zephyr-export
        with:
          command: 'zephyr-export'
      - name: West Build
        uses: ./.github/actions/zephyr-west # Uses an action in the root directory
        id: west-build
        with:
          command: 'build'
          command-args: '-b nucleo_wb55rg -- -DSHIELD=petejohanson_handwire'