Skip to content

[NO REVIEW NEEDED YET] migration-in-progress: Migrate pico, maxim and xilinx platform to github actions #2

[NO REVIEW NEEDED YET] migration-in-progress: Migrate pico, maxim and xilinx platform to github actions

[NO REVIEW NEEDED YET] migration-in-progress: Migrate pico, maxim and xilinx platform to github actions #2

Workflow file for this run

name: Main build workflow for no-os
on:
pull_request:
branches:
- main
- staging/*
- next_stable
- '20*'
permissions:
contents: read
env:
NUM_JOBS: 4
jobs:
checkers:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v5
with:
fetch-depth: 50
clean: true
- name: Astyle check
shell: sh
run: |
${{ github.workspace }}/.github/scripts/astyle.sh
env:
NUM_JOBS: ${{ env.NUM_JOBS }}
- name: Check-cpp format
shell: sh
run: |
${{ github.workspace }}/.github/scripts/cppcheck.sh
build-drivers:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v5
with:
submodules: recursive
- name: Build drivers
shell: sh
run: |
sudo apt-get install -y gcc-arm-none-eabi libnewlib-arm-none-eabi
make -j${NUM_JOBS} -C ${{ github.workspace }}/drivers -f Makefile