You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by jm...@apache.org on 2020/03/27 03:18:25 UTC
[incubator-datasketches-cpp] 01/01: Create build_cmake.yml
This is an automated email from the ASF dual-hosted git repository.
jmalkin pushed a commit to branch ci_test
in repository https://gitbox.apache.org/repos/asf/incubator-datasketches-cpp.git
commit 076489f38bb05267411be57bbf7870d0a40a997e
Author: Jon Malkin <jm...@users.noreply.github.com>
AuthorDate: Thu Mar 26 20:18:17 2020 -0700
Create build_cmake.yml
experimenting with CI build
---
.github/workflows/build_cmake.yml | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/.github/workflows/build_cmake.yml b/.github/workflows/build_cmake.yml
new file mode 100644
index 0000000..d336f4e
--- /dev/null
+++ b/.github/workflows/build_cmake.yml
@@ -0,0 +1,35 @@
+name: C/C++ CI
+
+on: [push, pull_request]
+
+env:
+ BUILD_TYPE: Release
+
+jobs:
+ build:
+ name: ${{ maxtrix.config.name }}
+ runs-on: ${{ matrix.config.os }}
+ strategy:
+ fail-fast: false
+ matrix:
+ config:
+ - {
+ name: "MaxOS Latest Clang", artifact: "macOS.tar.xz",
+ os: maxos-latest
+ cc: "clang", cxx: "clang++"
+ }
+ - {
+ name: "Ubuntu Latest GCC", artifact: "linux.tar.xz",
+ os: maxos-latest
+ cc: "gcc", cxx: "g++"
+ }
+
+ steps:
+ - uses: actions/checkout@v2
+ - name: configure
+ run: mkdir build && cd build && cmake .. -D WITH_PYTHON=1
+ - name: build
+ run: cmake --build build --config Release
+ - name: test
+ run: cd build && make test
+
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org