mirror of
https://github.com/audacity/audacity-actions.git
synced 2025-12-15 13:48:20 -06:00
Adapts generate_offline_dependecies to match new cmake
This commit is contained in:
parent
2d21f2cf95
commit
db3603dc8d
2
dist/generate_offline_dependencies/index.js
vendored
2
dist/generate_offline_dependencies/index.js
vendored
File diff suppressed because one or more lines are too long
@ -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')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user