Skip to content

Commit

Permalink
support github action for build.
Browse files Browse the repository at this point in the history
  • Loading branch information
jimhuaang committed Nov 17, 2020
1 parent d4023b9 commit 3322193
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: build

on: [push, pull_request]

jobs:
ubuntu-build:
runs-on: ubuntu-16.04
steps:
- uses: actions/checkout@v2
# isntall dependencies
- name: install curl and openssl
run: sudo apt-get update && sudo apt-get install -yq libcurl4-openssl-dev
# build project
- name: mkdir
run: mkdir build
- name: cmake build
run: cmake -Bbuild -H.
-name: cmake make
run: cmake --build build/ --target all


0 comments on commit 3322193

Please sign in to comment.