Remove slides #2
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
name: Mobile | |
on: | |
push: | |
branches: | |
- "main" | |
pull_request: | |
branches: | |
- "*" | |
jobs: | |
BuildAllProjects: | |
strategy: | |
matrix: | |
os: [macos-15, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
# Install .NET SDK | |
- name: Setup .NET 8.0.x | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: '8.x' # Adjust to your required .NET SDK version | |
- name: Setup .NET 9.0.x | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: '9.x' # Adjust to your required .NET SDK version | |
- name: Install .NET MAUI | |
run: 'dotnet workload install maui' | |
- name: Install Xcode | |
if: runner.os == 'macOS' | |
uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: latest-stable | |
- name: Display .NET Info | |
run: 'dotnet --info' | |
- name: Build Final Course Solution | |
run: | | |
dotnet build -c Release "./3. Advanced MAUI\8. Unit Testing/src/0. Unit Tests/HelloMaui.sln" | |
- name: Build All Solutions | |
shell: pwsh | |
run: ./BuildAllSolutions.ps1 | |
- name: Run All Unit Tests | |
shell: pwsh | |
run: ./RunAllUnitTests.ps1 |