Bump docfx from 2.72.1 to 2.73.0 (#316) #710
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [ main, 'release/*' ] | |
pull_request: | |
branches: [ main, 'release/*' ] | |
workflow_dispatch: | |
workflow_call: | |
jobs: | |
Validate-Package: | |
runs-on: ubuntu-latest | |
steps: | |
# Checks out repository | |
- uses: actions/checkout@v4 | |
- name: Remove existing .NET versions | |
shell: bash | |
run: | | |
rm -rf $DOTNET_ROOT | |
- name: Set up .NET SDK from global.json | |
uses: actions/setup-dotnet@v3 | |
- name: Display .NET versions | |
run: dotnet --info | |
# Package validation runs as part of packing. | |
- name: Dotnet pack for TileDB.CSharp | |
run: | | |
dotnet pack -c Release sources/TileDB.CSharp | |
Run-Tests: | |
strategy: | |
fail-fast: false | |
matrix: | |
# Repeat this test for each os | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
# Checks out repository | |
- uses: actions/checkout@v4 | |
- name: Remove existing .NET versions | |
shell: bash | |
run: | | |
rm -rf $DOTNET_ROOT | |
- name: Set up .NET SDK from global.json | |
uses: actions/setup-dotnet@v3 | |
- name: Display .NET versions | |
run: dotnet --info | |
# DotNet build | |
- name: Dotnet build for TileDB.CSharp | |
run: | | |
dotnet build -c Release sources/TileDB.CSharp | |
# DotNet test | |
- name: Test TileDB.CSharp | |
run: | | |
dotnet test -c Release tests/TileDB.CSharp.Test | |
- name: Run examples (.NET 5) | |
shell: bash | |
run: | | |
find examples/ -name *.csproj | xargs -I{} dotnet run --project {} -f net5.0 | |
- name: Run examples (.NET 6) | |
shell: bash | |
run: | | |
find examples/ -name *.csproj | xargs -I{} dotnet run --project {} -f net5.0 |