sentry_gimbal_hzz/.github/workflows/c-cpp.yml

25 lines
465 B
YAML

name: C/C++ CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: carlosperate/arm-none-eabi-gcc-action@v1
- run: arm-none-eabi-gcc --version
- uses: actions/checkout@v3
- name: make
run: make -j12
- uses: seanmiddleditch/gha-setup-ninja@master
- name: ninja
run: cd build && cmake -G Ninja .. && ninja