Skip to content

cleanup FbxPivot (#2138) #1342

cleanup FbxPivot (#2138)

cleanup FbxPivot (#2138) #1342

Workflow file for this run

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: .NET
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
# - name: Setup .NET
# uses: actions/setup-dotnet@v4
# with:
# dotnet-version: 8.0.x
# - name: Cache .NET workloads
# uses: actions/cache@v4
# with:
# path: ~\AppData\Local\Microsoft\dotnet\workloads
# key: ${{ runner.os }}-dotnet-workloads-${{ hashFiles('**/*.csproj') }}
# restore-keys: |
# ${{ runner.os }}-dotnet-workloads-
# - name: Install workloads
# run: dotnet workload install android ios
- name: Cache .NET nuget packages
uses: actions/cache@v4
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
restore-keys: |
${{ runner.os }}-nuget-
- name: Restore dependencies
run: dotnet restore KNI.sln
# - name: Build
# run: dotnet build KNI.sln --no-restore --property:WarningLevel=1
- name: Build Ref
run: dotnet build Platforms\Xna.Framework.Ref.csproj --property:WarningLevel=1
- name: Build BlazorGL
run: dotnet build XNA.Framework.Blazor.sln --property:WarningLevel=1
- name: Build WindowsDX11
run: dotnet build XNA.Framework.WindowsDX11.sln --property:WarningLevel=1
- name: Build DesktopGL
run: dotnet build XNA.Framework.DesktopGL.sln --property:WarningLevel=1
- name: Build iOS
run: dotnet build XNA.Framework.iOS.sln --property:WarningLevel=1
- name: Build Android
run: dotnet build XNA.Framework.Android.sln --property:WarningLevel=1
# - name: Build Cardboard
# run: dotnet build XNA.Framework.Cardboard.sln --property:WarningLevel=1
# - name: Build Windows UAP10
# run: dotnet msbuild XNA.Framework.UAP.sln --property:WarningLevel=1
# - name: Test
# run: dotnet test --no-build --verbosity normal