FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
xtensor-python/.github/workflows/windows.yml at fix/numpy · HunterBelanger/xtensor-python · GitHub
HunterBelanger
xtensor-python
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
xtensor-python
/
.github
/
workflows
/
windows.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
48 lines (39 loc) · 1.12 KB
Breadcrumbs
xtensor-python
/
.github
/
workflows
/
windows.yml
Copy path
File metadata and controls
48 lines (39 loc) · 1.12 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
40
41
42
43
44
45
46
47
48
name
:
Windows
on
:
workflow_dispatch
:
pull_request
:
push
:
branches
:
[master]
concurrency
:
group
:
${{ github.workflow }}-${{ github.job }}-${{ github.ref }}
cancel-in-progress
:
true
defaults
:
run
:
shell
:
bash -e -l {0}
jobs
:
build
:
runs-on
:
[windows-latest]
name
:
Windows
steps
:
-
name
:
Setup MSVC
uses
:
ilammy/msvc-dev-cmd@v1
-
name
:
Checkout code
uses
:
actions/checkout@v3
-
name
:
Set conda environment
uses
:
mamba-org/setup-micromamba@v1
with
:
environment-file
:
environment-dev.yml
cache-environment
:
true
-
name
:
Configure using CMake
run
:
cmake -G Ninja -Bbuild -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DPYTHON_EXECUTABLE=`which python` -DDOWNLOAD_GTEST=ON $(Build.SourcesDirectory)
-
name
:
Install
working-directory
:
build
run
:
cmake --install .
-
name
:
Build
working-directory
:
build
run
:
cmake --build . --target test_xtensor_python --parallel 8
-
name
:
Run tests (C++)
working-directory
:
build/test
run
:
./test_xtensor_python
-
name
:
Run tests (Python)
run
:
pytest -s
Back
|
FazBrowse Home
|
New Git URL