Skip to content

Commit

Permalink
[d17-2] Backport build fixes (#15309)
Browse files Browse the repository at this point in the history
This is a backport of:

* #15226
* #15227 

These are build fixes we need to keep this branch building (which will be nice to have if we branch off release/6.0.5xx from this branch at some point).


Backport of #15264

Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
  • Loading branch information
3 people authored Jun 21, 2022
1 parent 17d4a66 commit 8912f35
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Make.config
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ MAC_PACKAGE_DMG_DIRNAME="$(MAC_PACKAGE_TITLE)"
MAC_PACKAGE_UTI=com.$(MAC_PACKAGE_NAME_LOWER).pkg
MAC_PACKAGE_INSTALL_LOCATION=$(MAC_FRAMEWORK_VERSIONED_DIR)

TT = $(SYSTEM_DOTNET) t4
TT = $(SYSTEM_DOTNET) tool restore && $(SYSTEM_DOTNET) t4

PRODUCT_KEY_PATH?=$(TOP)/product.snk

Expand Down
5 changes: 4 additions & 1 deletion builds/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,10 @@ endif
$(Q) $(CP) ./downloads/microsoft.net.workload.emscripten.manifest-$(TOOLCHAIN_MANIFEST_VERSION_BAND)/$(EMSCRIPTEN_MANIFEST_PACKAGE_VERSION)/data/WorkloadManifest.* ./downloads/dotnet-sdk-$(DOTNET_VERSION)-osx-x64/sdk-manifests/$(DOTNET_MANIFEST_VERSION_BAND)/microsoft.net.workload.emscripten/
$(Q) touch $@

.stamp-install-t4: $(TOP)/.config/dotnet-tools.json

.stamp-install-t4: $(TOP)/.config/dotnet-tools.json .stamp-download-dotnet-packages
@# https://github.com/dotnet/sdk/issues/16165
$(Q) rm -f ~/.dotnet/toolResolverCache/*/dotnet-t4
$(SYSTEM_DOTNET) tool restore
$(Q) touch $@

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ steps:
PACKAGES="$IOS_PKG $MAC_PKG $IOS_DOTNET_PKG $TVOS_DOTNET_PKG $WATCHOS_DOTNET_PKG $MACOS_DOTNET_PKG $MACCATALYST_DOTNET_PKG"
echo "Packages found at $PACKAGES"
echo "$PACKAGES" | xargs python $(Build.SourcesDirectory)/release-scripts/sign_and_notarize.py --no_notarization -a "$APP_ID" -i "$INSTALL_ID" -u "$APPLE_ACCOUNT" -p "$APPLE_PASS" -t "$TEAM_ID" -d $(Build.SourcesDirectory)/package/notarized -e "$MAC_ENTITLEMENTS" -k "$KEYCHAIN"
echo "$PACKAGES" | xargs python3 $(Build.SourcesDirectory)/release-scripts/sign_and_notarize.py --no_notarization -a "$APP_ID" -i "$INSTALL_ID" -u "$APPLE_ACCOUNT" -p "$APPLE_PASS" -t "$TEAM_ID" -d $(Build.SourcesDirectory)/package/notarized -e "$MAC_ENTITLEMENTS" -k "$KEYCHAIN"
env:
PRODUCTSIGN_KEYCHAIN_PASSWORD: ${{ parameters.keyringPass }}
MAC_ENTITLEMENTS: $(Build.SourcesDirectory)/xamarin-macios/mac-entitlements.plist
Expand Down
9 changes: 0 additions & 9 deletions tools/devops/automation/templates/common/setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,6 @@ steps:
displayName: 'Show Environment'

- powershell: |
Write-Host "Python version"
python --version
Write-Host "Python location"
which python
Write-Host "Python2 location"
which python2
Write-Host "Python3 location"
which python3
Expand Down

2 comments on commit 8912f35

@vs-mobiletools-engineering-service2
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥 Build failed 🔥

Build failed for the job 'Generate API diff'

Pipeline on Agent
[d17-2] Backport build fixes (#15309)

@vs-mobiletools-engineering-service2
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥 Build failed 🔥

Build failed for the job 'Build packages'

Pipeline on Agent
[d17-2] Backport build fixes (#15309)

Please sign in to comment.