build(deps): bump github/codeql-action from 2.3.5 to 2.3.6 (#145) #525
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: Continuous Integration | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
types: [opened, synchronize, reopened] | |
permissions: | |
contents: read | |
jobs: | |
embedded_build: | |
name: Embedded Build | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
configuration: ["RelWithDebInfo"] | |
gcc: [ "10.3-2021.10" ] | |
target: ["stm32wb55", "stm32g070", "stm32g431", "stm32f407", "stm32f429", "stm32f746", "stm32f767"] | |
include: | |
- gcc: "7-2018-q2" | |
configuration: "RelWithDebInfo" | |
target: "stm32f767" | |
- gcc: "8-2019-q3" | |
configuration: "RelWithDebInfo" | |
target: "stm32f767" | |
- gcc: "9-2020-q2" | |
configuration: "RelWithDebInfo" | |
target: "stm32f767" | |
steps: | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
- name: Install GNU Arm Embedded Toolchain ${{ matrix.gcc }} | |
uses: carlosperate/arm-none-eabi-gcc-action@87cd4a1b01dad71985108eff5e2f3577a815f6b4 # v1.6.2 | |
with: | |
release: ${{ matrix.gcc }} | |
- uses: hendrikmuhs/ccache-action@ca3acd2731eef11f1572ccb126356c2f9298d35e # v1.2.9 | |
with: | |
key: ${{ matrix.gcc }}-${{ matrix.configuration }}-${{ matrix.target }} | |
- run: | | |
sudo apt-get update && sudo apt-get install --no-install-recommends ninja-build xsltproc | |
echo "::add-matcher::.github/matchers/gcc-problem-matcher.json" | |
cmake --preset host -DCMAKE_CXX_COMPILER_LAUNCHER=ccache | |
cmake --build --preset host-${{ matrix.configuration }} | |
cmake --preset ${{ matrix.target }} -DCMAKE_CXX_COMPILER_LAUNCHER=ccache | |
cmake --build --preset ${{ matrix.target }}-${{ matrix.configuration }} |