2020-11-04 16:31:55 +00:00
|
|
|
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 }}
|
2020-11-04 17:54:25 +00:00
|
|
|
MAX_MAKE_JOBS: 2
|