Skip to content

Commit

Permalink
CI: First attempt at GH action workflow for Windows: set CC and CXX; …
Browse files Browse the repository at this point in the history
…activate conda env for each run step
  • Loading branch information
selimnairb committed Nov 17, 2023
1 parent 34c740d commit 8e2381c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/testwindows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ jobs:
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
shell: cmd
run: >
set CC=cl.exe
set CXX=cl.exe
set PATH=C:\Miniconda;C:\Miniconda\Library\bin;C:\Miniconda\Scripts;%PATH%
conda activate test-environment
cmake -Bbuild -S. -GNinja -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
-DCMAKE_C_COMPILER=cl.exe
-DCMAKE_CXX_COMPILER=cl.exe
-DCMAKE_INSTALL_PREFIX=C:\Miniconda\envs\test-environment\Library
-DHDF5_ROOT=C:\Miniconda\envs\test-environment\Library
-DBAG_BUILD_TESTS:BOOL=ON
Expand Down

0 comments on commit 8e2381c

Please sign in to comment.