Skip to content

Commit 36677ca

Browse files
committed
Fixed Windows build
1 parent 160ae41 commit 36677ca

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.github/workflows/windows.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,27 @@ 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
29+
30+
- name: Install gcc_win-64
31+
run: micromamba install gxx_win-64 -c conda-forge
2932

3033
- 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)
34+
run: |
35+
cmake -Bbuild \
36+
-DXTENSOR_INSTALL_R_PACKAGES=OFF \
37+
-G "MinGW Makefiles" \
38+
-DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX \
39+
-DDOWNLOAD_GTEST=ON \
40+
$(Build.SourcesDirectory)
3241
3342
- name: Install
3443
working-directory: build

0 commit comments

Comments
 (0)