build: Add support for building mcu code on MacOS #6396
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Perform continuous integration tests on updates and pull requests | |
name: Build test | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-18.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup cache | |
uses: actions/cache@v2 | |
with: | |
path: ci_cache | |
key: ${{ runner.os }}-build-${{ hashFiles('scripts/ci-install.sh') }} | |
- name: Prepare tests | |
run: ./scripts/ci-install.sh | |
- name: Test | |
run: ./scripts/ci-build.sh 2>&1 | |
- name: Upload micro-controller data dictionaries | |
uses: actions/upload-artifact@v2 | |
with: | |
name: data-dict | |
path: ci_build/dict |