https://github.com/canonical/ubuntu-cooker
Ubuntu WSL UWP Builder
https://github.com/canonical/ubuntu-cooker
Last synced: 4 months ago
JSON representation
Ubuntu WSL UWP Builder
- Host: GitHub
- URL: https://github.com/canonical/ubuntu-cooker
- Owner: canonical
- License: gpl-3.0
- Archived: true
- Created: 2020-07-26T07:27:53.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-08-26T10:22:09.000Z (over 3 years ago)
- Last Synced: 2024-04-10T05:28:40.896Z (about 1 year ago)
- Language: PowerShell
- Homepage:
- Size: 116 KB
- Stars: 31
- Watchers: 6
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - canonical/ubuntu-cooker - Ubuntu WSL UWP Builder (PowerShell)
README
# Ubuntu Cooker
This is the automatic Ubuntu UWP build system that inspired by `ubuntu-old-hashioned` and `ubuntu-bartender`.
This allows autoamtic builds of Ubuntu UWP and it outputs local builds(`.appxbundle`) and upload-only packages(`.appxupload`).
This supports all the current releases on Microsoft Store:
- Ubuntu On Windows Community Preview (`insider`)
- Ubuntu on Windows (`lts`)
- Ubuntu 20.04 LTS (`focal`)
- Ubuntu 18.04 LTS (`bionic`)
- ~~Ubuntu 16.04 LTS (`xenial`)~~\*: Ubuntu 16.04 LTS is hidden and soon be pulled from the store as it is EOL. Still keep the build script for possible future extended support.
## Requirement
Following is the requirement of building environment:
- WSL and Virutal Machine Platform enabled (Windows 10 v1903 or higher)
- Visual Studio Community 2019
- Universal Windows Platform Support
- Windows 10 SDK (10.0.16299) and all higher SDKs
- C++ Universal Windows Platform tools
- Desktop Development with C++
- VC++ 2019 v142 tools
- C++ Profiling tools
- Visual C++ tools for CMake## Build
Run `.\cook.ps1 -Release -PublishId ` to build.
For `insider`, Additional location for the custom built images should be passed with `-InsiderImageLocation` or `-InsiderImageUrl`.
For Custom ingredient used, please pass `-IngredientUrl`. Use `-IngredientBranch` to specify custom ingredient.
## Analysis
Pass `-PrepareOnly` when analysing the generated `launcher` code.
`launcher` should be built and handled with `.\make.ps1`.
- `.\make.ps1 all` to build arm64/amd64 appxbundle.
- `.\make.ps1 x64-only` to build amd64 appxbundle.
- `.\make.ps1 clean` to remove the files downloaded/generated for build.