Skip to content

Move Yaml Validator into Persistence Part 2 #1824

Move Yaml Validator into Persistence Part 2

Move Yaml Validator into Persistence Part 2 #1824

Workflow file for this run

# CI workflow for PRs and merges to master
name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.os == 'ubuntu-latest' }}
strategy:
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
env:
DOTNET_NOLOGO: true
steps:
- uses: actions/checkout@v4
with:
lfs: true
- uses: actions/setup-dotnet@v4
with:
dotnet-version: |
7.0.x
8.0.x
- run: dotnet --info
- name: Build (win)
run: ./build ci
shell: cmd
if: ${{ runner.os == 'Windows' }}
## Only difference here is not forcing cmd
- name: Build (ubuntu & macos)
run: ./build ci
if: ${{ runner.os != 'Windows' }}
- name: Test - Persistence
run: dotnet bin/Debug/Persistence.Tests/Persistence.Tests.dll
- name: Test - PAModel
run: dotnet bin/Debug/PAModelTests/PAModelTests.dll
- name: Restore workloads for samples
run: dotnet workload restore samples/MauiMsApp/MauiMsApp.csproj
- name: Install maui-tizen workload
run: dotnet workload install maui-tizen
- name: Build samples
run: dotnet build samples/samples.sln
if: ${{ runner.os == 'Windows' }}