Commit a4e7b93 1 parent 468258d commit a4e7b93 Copy full SHA for a4e7b93
File tree 4 files changed +427
-0
lines changed
4 files changed +427
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : try build in ubuntu
2
+
3
+ on : [push]
4
+
5
+ jobs :
6
+ build :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@v2
10
+ - name : install depend
11
+ run : sudo apt install clang libclang-8-dev
12
+ - name : clone submodule
13
+ run : git submodule update --init --recursive
14
+ - name : cmake generate
15
+ run : cmake -H. -Bbuild/Debug -DCMAKE_BUILD_TYPE=Debug
16
+ - name : compile
17
+ run : cmake --build build/Debug
Original file line number Diff line number Diff line change
1
+ name : try build in mac os
2
+
3
+ on : [push]
4
+
5
+ jobs :
6
+ build :
7
+ runs-on : macos-latest
8
+ steps :
9
+ - uses : actions/checkout@v2
10
+ - name : install depend
11
+ run : brew install llvm
12
+ - name : clone submodule
13
+ run : git submodule update --init --recursive
14
+ - name : cmake generate
15
+ run : cmake -H. -Bbuild/Debug
16
+ -DClang_DIR=/usr/local/opt/llvm/lib/cmake/clang
17
+ -DLLVM_DIR=/usr/local/opt/llvm/lib/cmake
18
+ -DCMAKE_BUILD_TYPE=Debug
19
+ - name : compile
20
+ run : cmake --build ./build/Debug
You can’t perform that action at this time.
0 commit comments