mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2025-12-06 16:56:45 +08:00
Create c-cpp.yml
This commit is contained in:
parent
ef2988b6e1
commit
bf4aa18377
21
.github/workflows/c-cpp.yml
vendored
Normal file
21
.github/workflows/c-cpp.yml
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
name: C/C++ CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ develop ]
|
||||
pull_request:
|
||||
branches: [ develop ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: cmake
|
||||
run: cmake -DCMAKE_BUILD_TYPE=Release -DLIBIPC_BUILD_TESTS=ON .
|
||||
- name: make
|
||||
run: make -j
|
||||
- name: test
|
||||
run: export LD_LIBRARY_PATH=./lib:$LD_LIBRARY_PATH && ./bin/test-ipc
|
||||
Loading…
x
Reference in New Issue
Block a user