diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml new file mode 100644 index 0000000..15c848b --- /dev/null +++ b/.github/workflows/dotnet.yml @@ -0,0 +1,20 @@ +name: .NET + +on: [push, pull_request] + +jobs: + build: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [windows-2022, ubuntu-22.04, macos-12] + steps: + - uses: actions/checkout@v2 + - name: Setup .NET 8 + uses: actions/setup-dotnet@v3 + with: + dotnet-version: 8.0.x + - name: Install dependencies + run: dotnet restore + - name: Build + run: dotnet build AvaloniaSample --configuration Release --no-restore