ci: try using absolute paths for crashpad compile

This commit is contained in:
itsmattkc
2020-09-15 18:05:04 +10:00
committed by GitHub
parent 4af161d17a
commit 76112f708c
+4 -1
View File
@@ -64,7 +64,10 @@ jobs:
- name: Acquire Crashpad
shell: cmd
run: git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git && set PATH=%PATH%;%GITHUB_WORKSPACE%\depot_tools && fetch crashpad && cd crashpad && gn gen out/Default && sed -i "s/${cflags_c}/${cflags_c} \/MD/g" out\Default\toolchain.ninja && ninja.exe -C out/Default
run: |
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git |
&& depot_tools\fetch crashpad && cd crashpad && ..\depot_tools\gn gen out/Default |
&& sed -i "s/${cflags_c}/${cflags_c} \/MD/g" out\Default\toolchain.ninja && ninja.exe -C out/Default
- name: Configure CMake
# Use a bash shell so we can use the same syntax for environment variable