|
103 | 103 | //-------------------------------------------------------------------------------------------------+ |
104 | 104 | // Rebuild the extension with the copied `yarn.lock`. It is a must to use the same Theia versions. | |
105 | 105 | //-------------------------------------------------------------------------------------------------+ |
106 | | - exec(`yarn --ignore-engines --network-timeout 1000000 --cwd ${path('..', workingCopy)}`, `Building the ${productName} application`); |
| 106 | + exec(`yarn --ignore-engines --network-timeout 1000000 --cwd ${path('..', workingCopy)} -std=c++17`, `Building the ${productName} application`); |
107 | 107 |
|
108 | 108 | //-------------------------------------------------------------------------------------------------------------------------+ |
109 | 109 | // Test the application. With this approach, we cannot publish test results to GH Actions but save 6-10 minutes per builds | |
@@ -176,8 +176,8 @@ ${fs.readFileSync(path('..', 'build', 'package.json')).toString()} |
176 | 176 | //-------------------------------------------------------------------------------------------+ |
177 | 177 | // Install all private and public dependencies for the electron application and build Theia. | |
178 | 178 | //-------------------------------------------------------------------------------------------+ |
179 | | - exec(`yarn --ignore-engines --network-timeout 1000000 --cwd ${path('..', 'build')}`, 'Installing dependencies'); |
180 | | - exec(`yarn --ignore-engines --network-timeout 1000000 --cwd ${path('..', 'build')} build${isElectronPublish ? ':publish' : ''}`, `Building the ${productName} application`); |
| 179 | + exec(`yarn --ignore-engines --network-timeout 1000000 --cwd ${path('..', 'build')} -std=c++17`, 'Installing dependencies'); |
| 180 | + exec(`yarn --ignore-engines --network-timeout 1000000 --cwd ${path('..', 'build')} build${isElectronPublish ? ':publish' : ''} -std=c++17`, `Building the ${productName} application`); |
181 | 181 |
|
182 | 182 | //------------------------------------------------------------------------------+ |
183 | 183 | // Create a throw away dotenv file which we use to feed the builder with input. | |
|
0 commit comments