forked from unoplatform/uno
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Publish native macos assets for the samplesapp
- Loading branch information
1 parent
057b269
commit 707ba69
Showing
4 changed files
with
104 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
parameters: | ||
poolName: '' | ||
UNO_UWP_BUILD: '' | ||
XAML_FLAVOR_BUILD: '' | ||
|
||
jobs: | ||
- job: skia_package_macos_native_build | ||
displayName: 'Skia macOS Native Binaries' | ||
pool: | ||
vmImage: ${{ parameters.macOSImageName }} | ||
|
||
variables: | ||
CombinedConfiguration: Release|Any CPU | ||
CI_Build: true | ||
|
||
NUGET_PACKAGES: $(build.sourcesdirectory)/.nuget | ||
|
||
# We're building packages on linux, so we need to enable WPF support | ||
EnableWindowsTargeting: true | ||
|
||
UNO_UWP_BUILD: ${{ parameters.UNO_UWP_BUILD }} | ||
XAML_FLAVOR_BUILD: ${{ parameters.XAML_FLAVOR_BUILD }} | ||
|
||
steps: | ||
- checkout: self | ||
clean: true | ||
|
||
- template: templates/download-winui-converted-tree.yml | ||
- template: templates/gitversion.yml | ||
|
||
- bash: | | ||
cd $(build.sourcesdirectory)/src/Uno.UI.Runtime.Skia.MacOS/UnoNativeMac | ||
chmod +x build.sh | ||
./build.sh | ||
displayName: Build Skia macOS native | ||
- task: PublishPipelineArtifact@1 | ||
retryCountOnTaskFailure: 3 | ||
inputs: | ||
targetPath: $(build.sourcesdirectory)/src/Uno.UI.Runtime.Skia.MacOS/UnoNativeMac/build/Release | ||
artifactName: NugetPackages-Artifacts-skia-macos-native-$(XAML_FLAVOR_BUILD) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
parameters: | ||
poolName: '' | ||
UNO_UWP_BUILD: '' | ||
XAML_FLAVOR_BUILD: '' | ||
AssetNativeSuffix: '' | ||
|
||
jobs: | ||
- job: skia_package_macos_native_build | ||
displayName: 'Skia macOS Native Binaries' | ||
pool: | ||
vmImage: ${{ parameters.macOSImageName }} | ||
|
||
variables: | ||
CombinedConfiguration: Release|Any CPU | ||
CI_Build: true | ||
|
||
NUGET_PACKAGES: $(build.sourcesdirectory)/.nuget | ||
|
||
# We're building packages on linux, so we need to enable WPF support | ||
EnableWindowsTargeting: true | ||
|
||
UNO_UWP_BUILD: ${{ parameters.UNO_UWP_BUILD }} | ||
XAML_FLAVOR_BUILD: ${{ parameters.XAML_FLAVOR_BUILD }} | ||
|
||
steps: | ||
- checkout: self | ||
clean: true | ||
|
||
- template: templates/download-winui-converted-tree.yml | ||
- template: templates/gitversion.yml | ||
|
||
- bash: | | ||
cd $(build.sourcesdirectory)/src/Uno.UI.Runtime.Skia.MacOS/UnoNativeMac | ||
chmod +x build.sh | ||
./build.sh | ||
displayName: Build Skia macOS native | ||
- task: PublishPipelineArtifact@1 | ||
retryCountOnTaskFailure: 3 | ||
inputs: | ||
targetPath: $(build.sourcesdirectory)/src/Uno.UI.Runtime.Skia.MacOS/UnoNativeMac/build/Release | ||
artifactName: NugetPackages-Artifacts-skia-macos-native${{ parameters.AssetNativeSuffix }}-$(XAML_FLAVOR_BUILD) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters