changed license #23
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: Docker Image CI | |
on: [push] | |
jobs: | |
linux: | |
name: GCC ARM Toolchain ${{ matrix.compiler.name }} - ${{ matrix.build }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false # 'false' means Don't stop matrix workflows even if some matrix entry fails. | |
matrix: | |
compiler: [{name: '6-2017-q2-update'}, | |
{name: '7-2017-q4-major'}, | |
{name: '7-2018-q2-update'}, | |
{name: '8-2018-q4-major'}, | |
{name: '8-2019-q3-update'}, | |
{name: '9-2019-q4-major'}, | |
{name: '9-2020-q2-update'}, | |
{name: '10.3-2021.07'}, | |
{name: '10.3-2021.10'}, | |
{name: '11.3.rel1'}, | |
{name: '12.2.rel1'}, | |
{name: '12.3.rel1'}, | |
{name: '13.2.rel1'}] | |
build: ['debug', 'release'] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build ARM GCC Toolchain ${{ matrix.compiler.name }} Docker | |
run: docker build . --file ${{ matrix.compiler.name }}/Dockerfile -t gcc-arm-embedded:latest -t gcc-arm-embedded:${{ matrix.compiler.name }} | |
- name: Configure ${{ matrix.build }} example with GCC Toolchain ${{ matrix.compiler.name }} Docker | |
run: docker run -v ${PWD}/example:/builds gcc-arm-embedded cmake --preset ${{ matrix.build }} | |
- name: Build ${{ matrix.build }} example with GCC Toolchain ${{ matrix.compiler.name }} Docker | |
run: docker run -v ${PWD}/example:/builds gcc-arm-embedded cmake --build --preset ${{ matrix.build }} |