Skip to content

避免 Action 和 Func 类型的委托生成 Convertor 注册代码,减少代码量,节省调用性能 #181

避免 Action 和 Func 类型的委托生成 Convertor 注册代码,减少代码量,节省调用性能

避免 Action 和 Func 类型的委托生成 Convertor 注册代码,减少代码量,节省调用性能 #181

Workflow file for this run

name: Build Test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: |
5.0.x
2.0.x
- name: Build Test Cases
run: dotnet build TestCases/
- name: Build Test Cases(Release)
run: dotnet build -c Release TestCases/
- name: Test (I:Debug T:Debug R:false)
run: dotnet run --verbosity normal --project ILRuntimeTestCLI/ILRuntimeTestCLI.csproj TestCases/bin/Debug/netstandard2.0/TestCases.dll false
- name: Test (I:Debug T:Debug R:true)
run: dotnet run --verbosity normal --project ILRuntimeTestCLI/ILRuntimeTestCLI.csproj TestCases/bin/Debug/netstandard2.0/TestCases.dll true
- name: Test (I:Debug T:Release R:false)
run: dotnet run --verbosity normal --project ILRuntimeTestCLI/ILRuntimeTestCLI.csproj TestCases/bin/Release/netstandard2.0/TestCases.dll false
- name: Test (I:Debug T:Release R:true)
run: dotnet run --verbosity normal --project ILRuntimeTestCLI/ILRuntimeTestCLI.csproj TestCases/bin/Release/netstandard2.0/TestCases.dll true
- name: Test (I:Release T:Debug R:false)
run: dotnet run -c Release --verbosity normal --project ILRuntimeTestCLI/ILRuntimeTestCLI.csproj TestCases/bin/Debug/netstandard2.0/TestCases.dll false
- name: Test (I:Release T:Debug R:true)
run: dotnet run -c Release --verbosity normal --project ILRuntimeTestCLI/ILRuntimeTestCLI.csproj TestCases/bin/Debug/netstandard2.0/TestCases.dll true
- name: Test (I:Release T:Release R:false)
run: dotnet run -c Release --verbosity normal --project ILRuntimeTestCLI/ILRuntimeTestCLI.csproj TestCases/bin/Release/netstandard2.0/TestCases.dll false
- name: Test (I:Release T:Release R:true)
run: dotnet run -c Release --verbosity normal --project ILRuntimeTestCLI/ILRuntimeTestCLI.csproj TestCases/bin/Release/netstandard2.0/TestCases.dll true