We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7372659 commit 6575057Copy full SHA for 6575057
.github/workflows/build.yml
@@ -0,0 +1,35 @@
1
+name: build
2
+on: [push]
3
+jobs:
4
+ build:
5
+ name: ${{ matrix.name }}
6
+ runs-on: ${{ matrix.os }}
7
+ strategy:
8
+ matrix:
9
+ include:
10
+ - name: "Windows"
11
+ os: windows-latest
12
+ - name: "Ubuntu"
13
+ os: ubuntu-latest
14
+ - name: "macOS"
15
+ os: macos-latest
16
+ fail-fast: false
17
+ steps:
18
+ - name: Build
19
+ run: cargo build
20
+ shell: bash
21
+ - name: Run tests
22
+ run: cargo test
23
24
+ - name: Build with CMake
25
+ run: |
26
+ mkdir cmake_build
27
+ cd cmake_build
28
+ cmake .. -DCMAKE_BUILD_TYPE=Release
29
+ cmake --build . --config Release --parallel
30
31
+ - name: Test with CMake
32
33
34
+ ctest . -C Release --jobs 6
35
.travis.yml
0 commit comments