Skip to content

Add TypeRef.FromDllFile overload with Type #127

Add TypeRef.FromDllFile overload with Type

Add TypeRef.FromDllFile overload with Type #127

Workflow file for this run

name: Build
on: [push, pull_request]
env:
DOTNET_NOLOGO: 1
BUILD_DOTNET_VERSION: 8.0.x
jobs:
build:
name: Build
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.BUILD_DOTNET_VERSION }}
- name: NuGet Restore
run: dotnet restore src/InlineIL.sln
- name: Build
run: dotnet build --configuration Release --no-restore src/InlineIL.sln
- name: NuGet Pack
run: dotnet pack --configuration Release --no-build src/InlineIL.sln
- name: Upload NuGet
uses: actions/upload-artifact@v4
with:
name: NuGet
path: output/*.nupkg
if-no-files-found: error
test:
name: Test (${{ matrix.configuration }}, C# ${{ matrix.langVersion }})
runs-on: windows-latest
strategy:
matrix:
configuration: [Debug, Release]
langVersion: [10, 11, 12]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.BUILD_DOTNET_VERSION }}
- name: Test
run: dotnet test --configuration ${{ matrix.configuration }} -p:TestAssembliesLangVersion=${{ matrix.langVersion }} src/InlineIL.sln