mirror of
https://github.com/pine64/bl_iot_sdk.git
synced 2024-11-19 14:13:48 +00:00
39 lines
723 B
YAML
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
|