mirror of
https://github.com/westonrobot/ugv_sdk
synced 2023-04-08 06:32:14 +08:00
Update and rename c-cpp.yml to standalone-ci.yml
merged pack and build into one step
This commit is contained in:
19
.github/workflows/standalone-ci.yml
vendored
Normal file
19
.github/workflows/standalone-ci.yml
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
name: C/C++ CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-18.04
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: install dependencies
|
||||
run: sudo apt-get install -y build-essential cmake libasio-dev
|
||||
- name: build and pack
|
||||
run: pwd && ls && mkdir build && cd build && cmake .. && cmake --build . && cpack
|
||||
Reference in New Issue
Block a user