File tree 1 file changed +9
-1
lines changed
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 74
74
- name : Install Conan Dependencies
75
75
run : |
76
76
conan install . --build=missing -s build_type=${{ matrix.build_type }}
77
+ if [ "${{ runner.os }}" == "Windows" ]; then
78
+ dir generators
79
+ else
80
+ ls -la generators/
81
+ fi
77
82
78
83
- name : Set Build Directory
79
84
id : strings
@@ -94,15 +99,18 @@ jobs:
94
99
run : |
95
100
if [ "${{ runner.os }}" == "Windows" ]; then
96
101
build_dir="${{ github.workspace }}\\build\\${{ matrix.build_type }}"
102
+ toolchain_file="${{ github.workspace }}/generators/conan_toolchain.cmake"
97
103
else
98
104
build_dir="${{ github.workspace }}/build/${{ matrix.build_type }}"
105
+ toolchain_file="${{ github.workspace }}/generators/conan_toolchain.cmake"
99
106
fi
100
107
101
108
cmake --preset ${{ steps.strings.outputs.preset }} \
102
109
-S . \
103
110
-B "$build_dir" \
104
111
-G Ninja \
105
- -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
112
+ -DCMAKE_TOOLCHAIN_FILE="$toolchain_file" \
113
+ -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
106
114
107
115
- name : Build
108
116
run : cmake --build ${{ steps.strings.outputs.build-output-dir }}
You can’t perform that action at this time.
0 commit comments