JumpListManager CI Validation #45
This file contains hidden or 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
| # Copyright (c) 0x5BFA | |
| # Licensed under the MIT License. See the LICENSE. | |
| name: JumpListManager CI | |
| on: | |
| push: | |
| branches: | |
| - master | |
| paths-ignore: | |
| - '.github/assets/**' | |
| - 'docs/**' | |
| - '*.md' | |
| pull_request: | |
| paths-ignore: | |
| - '.github/assets/**' | |
| - 'docs/**' | |
| - '*.md' | |
| run-name: ${{ github.event_name == 'pull_request' && 'JumpListManager PR Validation' || 'JumpListManager CI Validation' }} | |
| env: | |
| WORKING_DIR: '${{ github.workspace }}' # 'D:\a\JumpListManager\JumpListManager' | |
| SOLUTION_PATH: '${{ github.workspace }}\JumpListManager.slnx' | |
| WAPPROJ_PATH: '${{ github.workspace }}\JumpListManager.WinUI.Packaging\JumpListManager.WinUI.Packaging.wapproj' | |
| jobs: | |
| build: | |
| runs-on: windows-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| configuration: [Debug, Release] | |
| platform: [x64, ARM64] | |
| env: | |
| CONFIGURATION: ${{ matrix.configuration }} | |
| PLATFORM: ${{ matrix.platform }} | |
| steps: | |
| - name: Checkout the repository | |
| uses: actions/checkout@v4 | |
| - name: Setup MSBuild | |
| uses: microsoft/setup-msbuild@v2 | |
| - name: Setup NuGet | |
| uses: NuGet/setup-nuget@v2 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v4 | |
| - name: Build the solution | |
| run: msbuild /restore $env:WAPPROJ_PATH /p:Configuration=$env:CONFIGURATION /p:Platform=$env:PLATFORM /p:AppxBundle=Never |