Update and rename c-cpp.yml to standalone-ci.yml

merged pack and build into one step
This commit is contained in:
Du Ruixiang
2020-08-15 19:46:30 +08:00
committed by GitHub
parent b2f8a5604b
commit c3cc36b8d8

19
.github/workflows/standalone-ci.yml vendored Normal file
View 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