[arch/win] update cpp support #3037
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
name: vsf cmake arm cross build | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: | |
arm-cross-build: | |
strategy: | |
fail-fast: false | |
matrix: | |
target: [aic8800] # Removed: m484, mps2 | |
cc: ['11.3.Rel1', '10.3-2021.10', '9-2019-q4', '8-2019-q3'] | |
os: [ubuntu-latest] | |
runs-on: ${{matrix.os}} | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true # without recursive | |
- name: get latest cmake and ninja | |
uses: lukka/get-cmake@latest | |
- 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 | |
shell: bash | |
- name: configure cmake | |
working-directory: ${{github.workspace}}/example/template/project/cmake/${{matrix.target}} | |
run: | | |
cmake --version | |
cmake -GNinja -B ./build | |
env: | |
VSF_PATH: ${{github.workspace}} | |
- name: build | |
working-directory: ${{github.workspace}}/example/template/project/cmake/${{matrix.target}} | |
run: cmake --build ./build -v |