Skip to content

Add native ADBC FlightSQL driver support for osx-arm64, fix ADBC resources disposal #91

Add native ADBC FlightSQL driver support for osx-arm64, fix ADBC resources disposal

Add native ADBC FlightSQL driver support for osx-arm64, fix ADBC resources disposal #91

Workflow file for this run

name: pr
permissions:
contents: read
on:
push:
branches: ["trunk"]
pull_request:
branches: ["trunk"]
workflow_dispatch:
jobs:
build_and_test_linux:
name: Build and test ubuntu-latest - .NET ${{matrix.dotnet-version}}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
dotnet-version: ["8.0.x", "9.0.x", "10.0.x"]
steps:
- uses: actions/checkout@v5
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: |
8.0.x
9.0.x
10.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore --configuration Release
- name: Test
env:
SCP_SPICEAI_TPCH_API_KEY: ${{ secrets.SCP_SPICEAI_TPCH_API_KEY }}
run: dotnet test --no-build --verbosity normal --configuration Release --framework ${{ matrix.dotnet-version == '8.0.x' && 'net8.0' || matrix.dotnet-version == '9.0.x' && 'net9.0' || 'net10.0' }}
build_and_test_windows_mac:
name: Build and test ${{matrix.os}} - .NET ${{matrix.dotnet-version}}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: windows-2022
dotnet-version: "8.0.x"
- os: windows-2022
dotnet-version: "9.0.x"
- os: windows-2022
dotnet-version: "10.0.x"
- os: windows-latest
dotnet-version: "8.0.x"
- os: windows-latest
dotnet-version: "9.0.x"
- os: windows-latest
dotnet-version: "10.0.x"
- os: macos-latest
dotnet-version: "9.0.x"
- os: macos-latest
dotnet-version: "10.0.x"
steps:
- uses: actions/checkout@v5
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: |
8.0.x
9.0.x
10.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore --configuration Release
- name: Test
env:
SCP_SPICEAI_TPCH_API_KEY: ${{ secrets.SCP_SPICEAI_TPCH_API_KEY }}
run: dotnet test --no-build --verbosity normal --configuration Release --framework ${{ matrix.dotnet-version == '8.0.x' && 'net8.0' || matrix.dotnet-version == '9.0.x' && 'net9.0' || 'net10.0' }}