Skip to content

Add ToString methods #977

Add ToString methods

Add ToString methods #977

Workflow file for this run

name: .NET
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
strategy:
matrix:
include:
- os: windows-2022
rid: win-x64
- os: ubuntu-22.04
rid: linux-x64
- os: macos-12
rid: osx-x64
runs-on: ${{ matrix.os }}
env:
AppVeyorBuild: true
steps:
- uses: actions/checkout@v2
- name: Setup .NET 8
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.x
- name: Setup .NET 7
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.0.x
- name: Setup .NET 6
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Restore dependencies
working-directory: src
run: dotnet restore
- name: Build
working-directory: src
run: dotnet build -c Release /p:SignAssembly=true
- name: E2E Test (JIT)
working-directory: src/Tests/FlatSharpEndToEndTests
run: dotnet test -c Release /p:SignAssembly=true --verbosity normal
- name: E2E Test (AOT)
working-directory: src/Tests/FlatSharpEndToEndTests
env:
BuildAot: 'true'
run: |
dotnet publish -c Release -f net8.0 -r ${{ matrix.rid }}
./bin/Release/net8.0/${{ matrix.rid }}/publish/FlatSharpEndToEndTests
- name: Poolable E2E Test
working-directory: src/Tests/FlatSharpPoolableEndToEndTests
run: dotnet test -c Release /p:SignAssembly=true --verbosity normal
- name: Compiler Test
working-directory: src/Tests/FlatSharpCompilerTests
run: dotnet test -c Release /p:SignAssembly=true --verbosity normal
- if: runner.os == 'Windows'
name: Upload Packages
uses: actions/upload-artifact@v2
with:
name: Packages
path: ./**/*.nupkg