migrate fake build script to a build project, update to new dotnet sd… #96
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: FSharp.Data.SqlClient 'Actions' CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 7.0.400 | |
- name: Install SQL Server | |
# reference @ https://github.com/Particular/install-sql-server-action | |
uses: Particular/[email protected] | |
with: | |
connection-string-env-var: SQL_SERVER_CONNECTION_STRING | |
catalog: AdventureWroks | |
extra-params: "" | |
- name: Build | |
env: | |
FSHARP_DATA_SQLCLIENT_USE_SQLLOCALDB_FOR_TESTS: 1 | |
run: | | |
'"C:/Program Files/Microsoft SQL Server/130/Tools/Binn/SqlLocalDB.exe" info' | |
./build.cmd |