Use Github Actions instead of Travis

Moved MSVC to Github Actions as well.
This commit is contained in:
Pengfei
2021-06-26 19:30:34 +08:00
parent 3d3b51bb98
commit 412aeaa0d4
27 changed files with 453 additions and 146 deletions
+5
View File
@@ -0,0 +1,5 @@
#!/bin/bash -ex
mkdir build && cd build
cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/lib/ccache/gcc -DCMAKE_CXX_COMPILER=/usr/lib/ccache/g++
ninja
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash -ex
. .ci/common/pre-upload.sh
REV_NAME="threeSD-linux-${GITNAME}"
mkdir "$REV_NAME"
cp build/bin/threeSD "$REV_NAME"
mkdir "$REV_NAME/dist"
. .ci/common/post-upload.sh