bl_iot_sdk/.github/workflows/build.yml
2020-11-04 20:54:25 +03:00

39 lines
723 B
YAML

name: Build
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, macos-latest]
steps:
- uses: actions/checkout@v2
- run: make
working-directory: customer_app
env:
BL60X_SDK_PATH: ${{ github.workspace }}
build-msys:
runs-on: windows-latest
steps:
- name: setup msys2
uses: msys2/setup-msys2@v2
with:
update: true
install: make
msystem: MSYS
- uses: actions/checkout@v2
- run: make
shell: msys2 {0}
working-directory: customer_app
env:
BL60X_SDK_PATH: ${{ github.workspace }}
MAX_MAKE_JOBS: 2