Skip to content

Commit 6636bd1

Browse files
committed
Fixed Windows build
1 parent 160ae41 commit 6636bd1

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/windows.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,25 @@ jobs:
1717
name: MINGW64
1818

1919
steps:
20-
20+
2121
- name: Checkout code
2222
uses: actions/checkout@v3
2323

2424
- name: Set conda environment
25-
uses: mamba-org/setup-micromamba@v1
25+
uses: mamba-org/setup-micromamba@v2
2626
with:
2727
environment-file: environment-dev.yml
28-
cache-environment: true
28+
cache-environment: false
2929

3030
- name: Configure using CMake
31-
run: cmake -Bbuild -DXTENSOR_INSTALL_R_PACKAGES=OFF -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DDOWNLOAD_GTEST=ON $(Build.SourcesDirectory)
31+
run: |
32+
cmake -Bbuild \
33+
-DXTENSOR_INSTALL_R_PACKAGES=OFF \
34+
-G "MinGW Makefiles" \
35+
-DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX \
36+
-DDOWNLOAD_GTEST=ON \
37+
-DCMAKE_SH="CMAKE_SH-NOTFOUND" \
38+
$(Build.SourcesDirectory)
3239
3340
- name: Install
3441
working-directory: build

0 commit comments

Comments
 (0)