From 94e3d151d72f75f6911425fecfd288a7ee912826 Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Sat, 17 Jul 2021 19:49:13 +0200 Subject: [PATCH] Create dotnet.yml --- .github/workflows/dotnet.yml | 42 ++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .github/workflows/dotnet.yml diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml new file mode 100644 index 00000000..8f50d17e --- /dev/null +++ b/.github/workflows/dotnet.yml @@ -0,0 +1,42 @@ +name: .NET + +on: + push: + branches: [ emclient ] + pull_request: + branches: [ emclient ] + +jobs: + build: + + runs-on: windows-latest + + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + path: "SQLitePCL.raw" + - uses: actions/checkout@v2 + with: + repository: ericsink/cb + path: "cb" + - name: Setup .NET 5 + uses: actions/setup-dotnet@v1 + with: + dotnet-version: 5.0.x + - name: Setup .NET 3.1 + uses: actions/setup-dotnet@v1 + with: + dotnet-version: 3.1.x + - name: Setup .NET 2.1 + uses: actions/setup-dotnet@v1 + with: + dotnet-version: 2.1.x + - name: Add msbuild to PATH + uses: microsoft/setup-msbuild@v1.0.2 + - name: Install T4 + run: dotnet tool install --global dotnet-t4 + - name: Build + run: | + cd SQLitePCL.raw/build + dotnet run