Simplify GeodatabaseTransactions
workflow
#287
Workflow file for this run
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
# The name of the job, which will be displayed for the status check in PR. | |
name: Build success check | |
# Controls when the action will run. | |
# Below triggers the workflow on pull requests to `main`. | |
on: | |
pull_request: | |
branches: | |
- main | |
# A workflow run is made up of one or more jobs that can run sequentially or | |
# in parallel. | |
jobs: | |
# MAUI Build | |
build-maui: | |
runs-on: windows-latest | |
name: MAUI Build | |
steps: | |
- name: Clone .NET Samples | |
uses: actions/checkout@v1 | |
- name: Setup Visual Studio Command Prompt | |
uses: microsoft/[email protected] | |
- name: Build MAUI (Windows) | |
run: | | |
msbuild /restore /t:Build src/MAUI/ArcGIS.Samples.MAUI.sln /p:Configuration=Release /p:CentralPackageManagementEnabled=true /p:TargetFramework=net8.0-windows10.0.19041.0 /p:RuntimeIdentifier=win10-x64 /p:RuntimeIdentifierOverride=win10-x64 /p:UseRidGraph=true | |
- name: Build MAUI (Android) | |
run: | | |
msbuild /restore /t:Build src/MAUI/ArcGIS.Samples.MAUI.sln /p:Configuration=Release /p:CentralPackageManagementEnabled=true /p:TargetFramework=net8.0-android | |
- name: Build MAUI (iOS) | |
run: | | |
msbuild /restore /t:Build src/MAUI/ArcGIS.Samples.MAUI.sln /p:Configuration=Release /p:CentralPackageManagementEnabled=true /p:TargetFramework=net8.0-ios | |
- name: Build MAUI (Mac) | |
run: | | |
msbuild /restore /t:Build src/MAUI/ArcGIS.Samples.MAUI.sln /p:Configuration=Release /p:CentralPackageManagementEnabled=true /p:TargetFramework=net8.0-maccatalyst | |
# WPF .NET Build | |
build-wpf: | |
runs-on: windows-latest | |
name: WPF .NET Build | |
steps: | |
- name: Clone .NET Samples | |
uses: actions/checkout@v1 | |
- name: Setup Visual Studio Command Prompt | |
uses: microsoft/[email protected] | |
- name: Build WPF .NET | |
run: | | |
msbuild /restore /t:Build src/WPF/ArcGIS.WPF.Viewer.Net.sln /p:Configuration=Release /p:CentralPackageManagementEnabled=true | |
# WPF .NET Framework Build | |
build-wpf-framework: | |
runs-on: windows-latest | |
name: WPF .NET Framework Build | |
steps: | |
- name: Clone .NET Samples | |
uses: actions/checkout@v1 | |
- name: Setup Visual Studio Command Prompt | |
uses: microsoft/[email protected] | |
- name: Build WPF .NETFramework | |
run: | | |
msbuild /restore /t:Build src/WPF/ArcGIS.WPF.Viewer.Net.sln /p:TargetFramework=net472 /p:Configuration=Release /p:CentralPackageManagementEnabled=true | |
# WinUI Build | |
build-winUI: | |
runs-on: windows-latest | |
name: WinUI Build | |
steps: | |
- name: Clone .NET Samples | |
uses: actions/checkout@v1 | |
- name: Setup Visual Studio Command Prompt | |
uses: microsoft/[email protected] | |
- name: Build WinUI | |
run: | | |
msbuild /restore /t:Build src/WinUI/ArcGIS.WinUI.Viewer.sln /p:Configuration=Release /p:CentralPackageManagementEnabled=true |