Skip to content

Merge pull request #30 from imahjoub/29-adapt-cddspi-and-cddi2c-to-ne… #8

Merge pull request #30 from imahjoub/29-adapt-cddspi-and-cddi2c-to-ne…

Merge pull request #30 from imahjoub/29-adapt-cddspi-and-cddi2c-to-ne… #8

# -----------------------------------------------------
# Copyright Iliass Mahjoub 2023.
# Distributed under MIT License
# (See accompanying file LICENSE
# or copy at http://www.boost.org/LICENSE_1_0.txt)
# -----------------------------------------------------
name: "CodeQL"
on:
push:
branches:
- '**'
pull_request:
types: [opened, synchronize, reopened]
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ c ]
suite: [ all ]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
queries: +security-and-quality
- name: update-tools
run: sudo apt install gcc-arm-none-eabi
- name: target-ubuntu-${{ matrix.suite }}
working-directory: ./Build/VS
run: |
make -f ../Make/make_stm32l432kc.gmk ${{ matrix.suite }} TYP_OS=unix
ls -la ../Bin/STM32L432_FlashMaster_x64/stm32l432kc.elf ../Bin/STM32L432_FlashMaster_x64/stm32l432kc.hex
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{ matrix.language }}"