Skip to content

Fix typos.

Fix typos. #674

Workflow file for this run

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@v3
- 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@v3
- 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