Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/build_linux.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: try build in ubuntu

on: [push]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install depend
run: sudo apt install clang libclang-8-dev
- name: clone submodule
run: git submodule update --init --recursive
- name: cmake generate
run: cmake -H. -Bbuild/Debug -DCMAKE_BUILD_TYPE=Debug
- name: compile
run: cmake --build build/Debug
20 changes: 20 additions & 0 deletions .github/workflows/build_mac.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: try build in mac os

on: [push]

jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: install depend
run: brew install llvm
- name: clone submodule
run: git submodule update --init --recursive
- name: cmake generate
run: cmake -H. -Bbuild/Debug
-DClang_DIR=/usr/local/opt/llvm/lib/cmake/clang
-DLLVM_DIR=/usr/local/opt/llvm/lib/cmake
-DCMAKE_BUILD_TYPE=Debug
- name: compile
run: cmake --build ./build/Debug
Loading