We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 127aae7 commit 36498e6Copy full SHA for 36498e6
.github/workflows/build.yml
@@ -0,0 +1,39 @@
1
+name: Build and Test xtensor-fftw
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
9
+jobs:
10
+ build-and-test:
11
+ runs-on: ${{ matrix.os }}
12
+ strategy:
13
+ matrix:
14
+ os: [ubuntu-latest, macos-latest, windows-latest]
15
16
+ steps:
17
+ - name: Checkout repository
18
+ uses: actions/checkout@v3
19
20
+ - name: Set up micromamba
21
+ uses: mamba-org/setup-micromamba@v1
22
+ with:
23
+ create-args: >-
24
+ cmake
25
+ fftw
26
+ xtensor
27
+ xtl
28
29
+ - name: Configure and build
30
+ run: |
31
+ mkdir build
32
+ cd build
33
+ cmake .. -DDOWNLOAD_GTEST=ON
34
+ cmake --build test_xtensor-fftw
35
36
+ - name: Run tests
37
38
+ cd test
39
+ ./test_xtensor-fftw
0 commit comments