Merge pull request #2456 from mikeller/generate_win64

Generate win64 version for Windows by default.
10.8-maintenance
Michael Keller 2021-03-29 23:09:14 +13:00 committed by GitHub
commit d118188727
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 8 deletions

View File

@ -99,12 +99,12 @@ If no platform is provided, the build for the host platform is run.
* **MacOS X** use `yarn gulp <task-name> --osx64`
* **Linux** use `yarn gulp <task-name> --linux64`
* **Windows** use `yarn gulp <task-name> --win32`
* **Windows** use `yarn gulp <task-name> --win64`
* **Android** use `yarn gulp <task-name> --android`
**Note:** Support for cross-platform building is very limited due to the requirement for platform specific build tools. If in doubt, build on the target platform.
You can also use multiple platforms e.g. `yarn gulp <taskname> --osx64 --linux64`. Other platforms like `--win64`, `--linux32` and `--armv7` can be used too, but they are not officially supported, so use them at your own risk.
You can also use multiple platforms e.g. `yarn gulp <taskname> --osx64 --linux64`. Other platforms like `--win32`, `--linux32` and `--armv7` can be used too, but they are not officially supported, so use them at your own risk.
## Support

View File

@ -61,12 +61,12 @@ stages:
testResultsFormat: 'VSTest'
testResultsFiles: '**/test_results.xml'
testRunTitle: 'Windows'
buildPlatform: 'Win32'
- script: yarn gulp release --win32
displayName: 'Run yarn release for win32'
buildPlatform: 'Win64'
- script: yarn gulp release --win64
displayName: 'Run yarn release for win64'
condition: and(succeeded(), eq('${{ parameters.releaseBuild }}', true))
- script: yarn gulp debug-release --win32
displayName: 'Run yarn debug release for win32'
- script: yarn gulp debug-release --win64
displayName: 'Run yarn debug release for win64'
condition: and(succeeded(), eq('${{ parameters.releaseBuild }}', false))
- powershell: Set-Content -Path '$(System.DefaultWorkingDirectory)/release/log.txt' -Value $env:BUILD_SOURCEVERSIONMESSAGE
- task: PublishPipelineArtifact@1

View File

@ -173,7 +173,7 @@ function getDefaultPlatform() {
break;
case 'win32':
defaultPlatform = 'win32';
defaultPlatform = 'win64';
break;