powershell it?

ini_importer_tests
Bret Curtis 1 year ago
parent 9a148d8662
commit f256a87ce3

@ -685,7 +685,6 @@ macOS13_Xcode14_arm64:
- cmake --build . --config $config
- ccache --show-stats
- cd $config
- '& cd'
- '& ".\openmw-iniimporter-tests.exe"'
- echo "CI_COMMIT_REF_NAME ${CI_COMMIT_REF_NAME}`nCI_JOB_ID ${CI_JOB_ID}`nCI_COMMIT_SHA ${CI_COMMIT_SHA}" | Out-File -Encoding UTF8 CI-ID.txt
- $artifactDirectory = "$(Make-SafeFileName("${CI_PROJECT_NAMESPACE}"))/$(Make-SafeFileName("${CI_COMMIT_REF_NAME}"))/$(Make-SafeFileName("${CI_COMMIT_SHORT_SHA}-${CI_JOB_ID}"))/"

@ -42,7 +42,7 @@ int runBinary(
{
#ifdef _WIN32
std::wstringstream cmd;
cmd << L'"' << binaryPath.native() << L'"' << L" -i " << '"' << iniPath.native() << '"' << L" -c " << '"'
cmd << L'& "' << binaryPath.native() << L'"' << L" -i " << '"' << iniPath.native() << '"' << L" -c " << '"'
<< cfgPath.native() << '"';
return _wsystem(cmd.str().c_str());
#else

Loading…
Cancel
Save