Adapts generate_offline_dependecies to match new cmake

This commit is contained in:
Dmitry Vedenko 2022-06-03 14:22:04 +03:00
parent 2d21f2cf95
commit db3603dc8d
No known key found for this signature in database
GPG Key ID: F4C37A6204F983A2
2 changed files with 4 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -11,15 +11,16 @@ const buildType = core.getInput('build_type') || 'Release';
async function run() {
await offlineDependencies.prepareEnvironment(core.getMultilineInput('additional_python_packages'));
const tempPath = path.join(workspaceDir, '.offline', 'temp');
try {
await helpers.execWithLog('cmake', [
'-S', workspaceDir,
'-B', tempPath,
'-G', generator,
'-D', 'audacity_conan_allow_prebuilt_binaries=no',
'-D', 'audacity_conan_force_build_dependencies=yes',
'-D', `CMAKE_BUILD_TYPE=${buildType}`,
'-D', `CMAKE_CONFIGURATION_TYPES=${buildType}`,
...core.getMultilineInput('cmake_options')