aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2019-11-21 00:08:12 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2019-11-21 01:00:50 -0500
commit6a0aa493a001df88c31dc41d3bd03b9433347235 (patch)
tree54ebb52effff630eb528582349880e7e8a8d9896 /.github/workflows
parente3d36cb0249dcea99702db3694c0b1c2691d1ee2 (diff)
downloadreloc-6a0aa493a001df88c31dc41d3bd03b9433347235.tar.gz
GitHub Actions
* Add MSVC support * Update README.md to reflect changes * Implement ci.yml * Add missing argument to usage statement
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml38
1 files changed, 38 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..be6a633
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,38 @@
+name: ci
+
+#on: [push, pull_request]
+on: [push]
+
+jobs:
+ unix:
+ name: "${{ matrix.os }}"
+ runs-on: "${{ matrix.os }}"
+ strategy:
+ matrix:
+ os: [ubuntu-latest, macOS-latest]
+
+ steps:
+ - uses: actions/checkout@v1
+ - name: configure
+ run: cmake .
+ - name: make
+ run: make
+ - name: test
+ run: ctest -V
+ - name: install
+ run: sudo make install
+
+ windows:
+ name: "${{ matrix.os }}"
+ runs-on: "${{ matrix.os }}"
+ strategy:
+ matrix:
+ os: [windows-latest]
+ steps:
+ - uses: actions/checkout@v1
+ - name: configure
+ run: cmake .
+ - name: make
+ run: cmake --build .
+ - name: test
+ run: ctest -V