Skip to content

[vsf] sync

[vsf] sync #2632

name: vsf.linux cmake arm cross build
on:
push:
pull_request:
workflow_dispatch:
jobs:
arm-cross-build:
strategy:
fail-fast: false
matrix:
target: [ aic8800 ] #[ aic8800, aic8800.meui, stm32h743.sdlpal ]
cc: ['11.3.Rel1', '10.3-2021.10', '9-2019-q4', '8-2019-q3']
os: [ubuntu-latest]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true # without recursive
- name: Checkout VSF Submodule
run: git -C vsf submodule update --init
- name: arm-none-eabi-gcc
uses: carlosperate/arm-none-eabi-gcc-action@v1
with:
release: ${{matrix.cc}}
- name: install depends
run: |
sudo apt-get update
sudo apt-get install -y libsdl2-dev ninja-build
shell: bash
- name: configure cmake
working-directory: ${{github.workspace}}/project/cmake/${{matrix.target}}
run: |
cmake --version
cmake -GNinja -B ./build
env:
VSF_PATH: ${{github.workspace}}/vsf
- name: build
working-directory: ${{github.workspace}}/project/cmake/${{matrix.target}}
run: cmake --build ./build -v