Skip to content

Read me improvements (#2) #20

Read me improvements (#2)

Read me improvements (#2) #20

Workflow file for this run

name: CI
on:
workflow_dispatch:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: windows-2019
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
- name: Setup MSBuild.exe
uses: microsoft/setup-msbuild@v1
# Setup vstest
- name: Setup VSTest
uses: darenm/Setup-VSTest@v1
# Restore nuget packages
- name: Restore packages
run: nuget restore xlDuckDb.sln
# Build
- name: Build solution
run: msbuild xlDuckDb.sln -t:rebuild -property:Configuration=Release -property:ExcelDnaCreate32BitAddIn=false -property:ExcelDna64BitAddInSuffix= -property:RunExcelDnaPack=false -property:ExcelDna32BitAddInSuffix=32
# Run tests
- name: Unit test
run: vstest.console.exe /Platform:x64 .\UnitTests\bin\x64\Release\UnitTests.dll
# Upload binary
- name: "Upload binary"
uses: actions/upload-artifact@v4
with:
name: xlduckdb-${{ github.sha }}
path: .\xlDuckDb\bin\x64\Release\*.*
retention-days: 1