mirror of
https://github.com/westonrobot/ugv_sdk
synced 2023-04-08 06:32:14 +08:00
Create c-cpp.yml
This commit is contained in:
20
.github/workflows/c-cpp.yml
vendored
Normal file
20
.github/workflows/c-cpp.yml
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
name: C/C++ CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-18.04
|
||||
|
||||
steps:
|
||||
- name: install dependencies
|
||||
run: apt install build-essential cmake libasio-dev
|
||||
- name: build
|
||||
run: mkdir build && cd build && cmake .. && cmake --build .
|
||||
- name: pack
|
||||
run: cpack
|
||||
Reference in New Issue
Block a user