Skip to content

Commit 9948458

Browse files
committed
Fixed Windows build
1 parent 160ae41 commit 9948458

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/windows.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,21 @@ jobs:
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
2828
cache-environment: true
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+
-DCMAKE_C_COMPILER=$CC \
35+
-DCMAKE_CXX_COMPILER=$CXX \
36+
-G "MinGW Makefiles" \
37+
-DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX \
38+
-DDOWNLOAD_GTEST=ON \
39+
$(Build.SourcesDirectory)
3240
3341
- name: Install
3442
working-directory: build

0 commit comments

Comments
 (0)