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

25 lines
465 B
YAML
Raw Normal View History

2023-07-25 20:01:42 +08:00
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