-
Notifications
You must be signed in to change notification settings - Fork 18
39 lines (33 loc) · 951 Bytes
/
build.yml
File metadata and controls
39 lines (33 loc) · 951 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Build and Test xtensor-fftw
on:
push:
branches:
- main
pull_request:
jobs:
build-and-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up micromamba
uses: mamba-org/setup-micromamba@v1
with:
create-args: >-
cmake
fftw
xtensor
xtl
- name: Configure and build
run: |
mkdir build
cd build
cmake .. -DDOWNLOAD_GTEST=ON
cmake --build test_xtensor-fftw
- name: Run tests
run: |
cd test
./test_xtensor-fftw