Skip to content

Commit 01f8d65

Browse files
committed
Adjust step for testing external executable to account for configuration in executable build path
Update name used to find sundials dependency
1 parent 02d738c commit 01f8d65

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/conda_recipe.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,16 @@ jobs:
7575
cd build
7676
cmake ..
7777
cmake --build .
78-
- name: Test built example executable
78+
- name: Test built example executable (Unix)
79+
if: matrix.os != 'windows-latest'
7980
run: |
8081
cd tests
8182
./external/build/example
83+
- name: Test built example executable (Windows)
84+
if: matrix.os == 'windows-latest'
85+
run: |
86+
cd tests
87+
./external/build/Debug/example
8288
- name: Check built example executable output
8389
run: |
8490
python scripts/devtasks.py compare-files tests/example_output.data --driver 4
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
include(CMakeFindDependencyMacro)
22
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR})
33
find_dependency(Boost REQUIRED COMPONENTS regex)
4-
find_dependency(Sundials REQUIRED)
4+
find_dependency(SUNDIALS REQUIRED COMPONENTS kinsol cvode)
55
include(${CMAKE_CURRENT_LIST_DIR}/ePhotosynthesisTargets.cmake)
66
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} CACHE INTERNAL "CMAKE_MODULE_PATH")

0 commit comments

Comments
 (0)