Add support for XCommon CMake build system on v5.2.0 and above #101
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
# YAML schema for GitHub Actions: | |
# https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions | |
# | |
# Helpful YAML parser to clarify YAML syntax: | |
# https://yaml-online-parser.appspot.com/ | |
# | |
# This workflow uses actions that are not certified by GitHub. They are provided by a third-party and are governed by | |
# separate terms of service, privacy policy, and support documentation. | |
# | |
# This file contains the workflows that are run prior to merging a pull request. | |
name: CI | |
on: | |
push: | |
branches: | |
- 'develop' | |
- 'master' | |
pull_request: | |
branches: | |
- 'develop' | |
- 'master' | |
# Allow manually triggering of the workflow. | |
workflow_dispatch: {} | |
jobs: | |
build_tests_xcore: | |
name: Build Test Apps | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Pull builder container | |
run: | | |
docker pull ghcr.io/xmos/xcore_builder:v2.0.0 | |
- name: Install Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install numpy | |
pip install scipy | |
pip install matplotlib | |
- name: Build | |
run: | | |
docker run --rm -w /lib_mic_array -v ${{ github.workspace }}:/lib_mic_array ghcr.io/xmos/xcore_builder:latest bash -l .github/scripts/build_test_apps.sh | |