Skip to content

Commit

Permalink
chore: Build ios/android samples app with net9
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromelaban authored Oct 8, 2024
1 parent 6d230a9 commit a0fb594
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions build/ci/.azure-devops-android-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ jobs:

- bash: |
cd $(build.sourcesdirectory)/src/SamplesApp/SamplesApp.netcoremobile
dotnet publish -f net8.0-android -c Release -p:UnoTargetFrameworkOverride=net8.0-android /bl:$(build.artifactstagingdirectory)/android-netcoremobile-sampleapp.binlog
dotnet publish -f net9.0-android -c Release -p:UnoTargetFrameworkOverride=net9.0-android /bl:$(build.artifactstagingdirectory)/android-netcoremobile-sampleapp.binlog
displayName: Build Android samples app
- task: CopyFiles@2
inputs:
SourceFolder: $(build.sourcesdirectory)/src/SamplesApp/SamplesApp.netcoremobile/bin/Release/net8.0-android/publish
SourceFolder: $(build.sourcesdirectory)/src/SamplesApp/SamplesApp.netcoremobile/bin/Release/net9.0-android/publish
Contents: 'uno.platform.unosampleapp-Signed.apk'
TargetFolder: $(build.artifactstagingdirectory)/android
CleanTargetFolder: false
Expand Down
6 changes: 3 additions & 3 deletions build/ci/.azure-devops-ios-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,10 @@ jobs:
- bash: |
cd $(BUILD.SOURCESDIRECTORY)/src/SamplesApp/SamplesApp.netcoremobile
dotnet publish \
-f net8.0-ios \
-f net9.0-ios \
-c Release \
-p:BuildForTestFlight=true \
-p:UnoTargetFrameworkOverride=net8.0-ios \
-p:UnoTargetFrameworkOverride=net9.0-ios \
/bl:$(build.artifactstagingdirectory)/ios-netcoremobile-sampleapp-testflight.binlog
displayName: Build iOS App for TestFlight
Expand All @@ -164,7 +164,7 @@ jobs:
- task: CopyFiles@2
inputs:
SourceFolder: $(build.sourcesdirectory)/src/SamplesApp/SamplesApp.netcoremobile/bin/Release/net8.0-ios/ios-arm64/publish
SourceFolder: $(build.sourcesdirectory)/src/SamplesApp/SamplesApp.netcoremobile/bin/Release/net9.0-ios/ios-arm64/publish
Contents: '**'
TargetFolder: $(build.artifactstagingdirectory)/TestFlight
CleanTargetFolder: false
Expand Down

0 comments on commit a0fb594

Please sign in to comment.