Skip to content

Commit f05f925

Browse files
committed
try cmake by hand
1 parent 5e9c567 commit f05f925

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/conda_build.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,19 @@ jobs:
6565

6666
- name: Set CMAKE_GENERATOR env var
6767
run: echo "CMAKE_GENERATOR=Ninja" >> $env:GITHUB_ENV
68+
- uses: ilammy/msvc-dev-cmd@v1
69+
70+
- name: CMake Generation - MSVC
71+
shell: cmd
72+
run: cmake -B build --preset=${{ inputs.cmakePreset }} -DCMAKE_C_COMPILER_LAUNCHER=${{ github.workspace }}/buildcache/bin/buildcache.exe -DCMAKE_CXX_COMPILER_LAUNCHER=${{ github.workspace }}/buildcache/bin/buildcache.exe .
73+
74+
- name: Build Project
75+
shell: cmd
76+
run: |
77+
set CL=/MP
78+
cmake --build build -j 2
79+
80+
6881
- name: Build Conda package using mamba build
6982
run:
7083
conda mambabuild ${{ github.workspace }}/LyceanEM-Python/conda/

0 commit comments

Comments
 (0)