File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -144,12 +144,26 @@ jobs:
144144 # echo "ICU_ROOT=$GITHUB_WORKSPACE/icu_root" >> $GITHUB_ENV
145145 # echo "LD_LIBRARY_PATH=$GITHUB_WORKSPACE/icu_root/lib" >> $GITHUB_ENV
146146 fi
147+
147148 if [[ '${{ matrix.os }}' == macos-* ]]; then
148149 brew install icu4c
149150 echo "DEVELOPER_DIR=/Applications/Xcode_${{ matrix.version }}.app" >> $GITHUB_ENV
150151 echo "ICU_ROOT=$(brew --cellar icu4c)/$(brew info --json icu4c | jq -r '.[0].installed[0].version')" >> $GITHUB_ENV
151152 fi
152153
154+ if [[ '${{ matrix.os }}' == windows-* ]]; then
155+ if [[ '${{ matrix.compiler }}' != '' ]]; then
156+ if [[ '${{ matrix.arch }}' == "x64" ]]; then
157+ VCPREFIX="C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\Llvm\\x64\\bin"
158+ else
159+ VCPREFIX="C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\Llvm\\bin"
160+ fi
161+ echo "CC=$VCPREFIX\\${{ matrix.compiler }}" >> $GITHUB_ENV
162+ echo "CXX=$VCPREFIX\\${{ matrix.compiler }}" >> $GITHUB_ENV
163+ echo "CMAKE_GENERATOR=Ninja" >> $GITHUB_ENV
164+ fi
165+ fi
166+
153167 CMAKE_ARGS=( )
154168
155169 if [[ '${{ matrix.platform }}' != "" ]]; then
You can’t perform that action at this time.
0 commit comments