mirror of
https://gitee.com/dlmu-cone/half-steering-basic-framework
synced 2026-10-23 17:42:20 +08:00
first commit
This commit is contained in:
25
.github/workflows/c-cpp.yml
vendored
Normal file
25
.github/workflows/c-cpp.yml
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user