summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/darwin.yml19
-rw-r--r--.github/workflows/linux.yml19
-rw-r--r--.github/workflows/windows.yml20
3 files changed, 58 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
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
new file mode 100644
index 00000000..137fb682
--- /dev/null
+++ b/.github/workflows/linux.yml
@@ -0,0 +1,19 @@
+name: linux
+on: [push]
+jobs:
+
+ build:
+ name: build
+ runs-on: [ ubuntu-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
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
new file mode 100644
index 00000000..12ff1282
--- /dev/null
+++ b/.github/workflows/windows.yml
@@ -0,0 +1,20 @@
+name: windows
+on: [push]
+jobs:
+
+ build:
+ name: build
+ runs-on: [ windows-latest ]
+ steps:
+ - name: Check out code
+ uses: actions/checkout@v1
+
+ - name: Configure
+ run: cmake -B build
+
+ - name: Build
+ run: cmake --build build
+
+ - name: Test
+ run: ctest -C Debug --output-on-failure
+