aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/darwin.yml
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2019-12-11 18:59:25 -0800
committerGarrett D'Amore <garrett@damore.org>2019-12-11 21:03:30 -0800
commit87d45fa165145948965a7e8a0bf4d699b5d23fba (patch)
tree59cf900fbd70f990f09613aa1715fed0922ebe54 /.github/workflows/darwin.yml
parent15f63c95df73da3146d08331496f606e460d5821 (diff)
downloadnng-87d45fa165145948965a7e8a0bf4d699b5d23fba.tar.gz
nng-87d45fa165145948965a7e8a0bf4d699b5d23fba.tar.bz2
nng-87d45fa165145948965a7e8a0bf4d699b5d23fba.zip
Support for GitHub actions.
This allows us to test macOS (darwin), Windows, and Linux. The work is just initial, and does not include coverage of the TLS layer or ZeroTier portions, yet.
Diffstat (limited to '.github/workflows/darwin.yml')
-rw-r--r--.github/workflows/darwin.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/darwin.yml b/.github/workflows/darwin.yml
new file mode 100644
index 00000000..b4ea3d11
--- /dev/null
+++ b/.github/workflows/darwin.yml
@@ -0,0 +1,19 @@
+name: darwin
+on: [push]
+jobs:
+
+ build:
+ name: build
+ runs-on: [ macos-latest ]
+ steps:
+ - name: Check out code
+ uses: actions/checkout@v1
+
+ - name: Configure
+ run: mkdir build && cd build && cmake ..
+
+ - name: build
+ run: cmake --build build
+
+ - name: Test
+ run: cd build && ctest --output-on-failure \ No newline at end of file