Skip to content

增加ValueMappingsBase值映射特性基类,方便从外部(如:Abp框架)继承实现枚举、bool类型的多语言显示 #948

增加ValueMappingsBase值映射特性基类,方便从外部(如:Abp框架)继承实现枚举、bool类型的多语言显示

增加ValueMappingsBase值映射特性基类,方便从外部(如:Abp框架)继承实现枚举、bool类型的多语言显示 #948

Workflow file for this run

name: .NET Core
on:
push:
branches: [ "develop", "release/*", "master" ]
pull_request:
branches: [ "develop", "release/*", "master" ]
jobs:
ubuntu-latest:
name: ubuntu-latest
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
dotnet-version: '5.0.x'
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
- uses: actions/checkout@v2
- name: 🔨 Use .NET 7.X SDK
uses: actions/[email protected]
with:
dotnet-version: '7.x'
- name: Install libgdiplus
run: sudo apt-get update && sudo apt-get install -y libgdiplus libc6-dev
# - name: t
# run: sudo ln -s /usr/lib/libgdiplus.so /usr/lib/gdiplus.dll
# - name: t1
# run: sudo apt-get update && sudo apt-get install -y fontconfig
- name: Install libjpeg62
run: sudo apt-get install libjpeg62
- name: Restore with dotnet
run: dotnet restore
- name: Build with dotnet
run: dotnet build -c Release --no-restore
- name: Test with .NET 6.0.x
run: dotnet test src/Magicodes.ExporterAndImporter.Tests -f net6.0
- name: Test with .NET 7.0.x
run: dotnet test src/Magicodes.ExporterAndImporter.Tests -f net7.0
windows-latest:
name: windows-latest
runs-on: windows-latest
steps:
- uses: actions/[email protected]
with:
dotnet-version: '5.0.x'
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
- uses: actions/checkout@v2
- name: 🔨 Use .NET 7.X SDK
uses: actions/[email protected]
with:
dotnet-version: '7.x'
- name: Restore with dotnet
run: dotnet restore
- name: Build with dotnet
run: dotnet build -c Release --no-restore
- name: Test with dotnet
run: dotnet test src/Magicodes.ExporterAndImporter.Tests
macOS-latest:
name: macOS-latest
runs-on: macos-latest
steps:
- uses: actions/[email protected]
with:
dotnet-version: '5.0.x'
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
- uses: actions/checkout@v2
- name: 🔨 Use .NET 7.X SDK
uses: actions/[email protected]
with:
dotnet-version: '7.x'
- name: Restore with dotnet
run: dotnet restore
- name: Build with dotnet
run: dotnet build -c Release --no-restore
- name: Test with .NET 6.0.x
run: dotnet test src/Magicodes.ExporterAndImporter.Tests -f net6.0
- name: Test with .NET 7.0.x
run: dotnet test src/Magicodes.ExporterAndImporter.Tests -f net7.0