Skip to content

Use ArrayPool for buffered reading in StreamBox #2474

Use ArrayPool for buffered reading in StreamBox

Use ArrayPool for buffered reading in StreamBox #2474

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-20.04, macos-latest]
steps:
- name: Install tools
if: matrix.os == 'ubuntu-20.04'
run: sudo apt-get -yq install mono-vbnc dos2unix
- uses: actions/checkout@v2
with:
submodules: true
- name: Setup .NET Core 2.1
uses: actions/setup-dotnet@v1
with:
dotnet-version: '2.1.x'
- name: Setup .NET Core 3.1
uses: actions/setup-dotnet@v1
with:
dotnet-version: '3.1.x'
- name: Setup .NET 6.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
- name: Version Information
run: |
dotnet --info
try { msbuild -version } catch { }
try { mono --version } catch { }
shell: pwsh
- name: Build
run: pwsh make.ps1
- name: Package
run: pwsh make.ps1 package
- uses: actions/upload-artifact@v2
with:
name: packages
path: Package/Release/Packages
- name: Test (net462)
run: ./make.ps1 -frameworks net462 test-all
shell: pwsh
- name: Test (netcoreapp2.1)
run: ./make.ps1 -frameworks netcoreapp2.1 test-all
shell: pwsh
- name: Test (netcoreapp3.1)
run: ./make.ps1 -frameworks netcoreapp3.1 test-all
shell: pwsh
- name: Test (net6.0)
run: ./make.ps1 -frameworks net6.0 test-all
shell: pwsh