summaryrefslogtreecommitdiff
path: root/.github/workflows/test-win.yml
blob: 2b4900a1093e765f65a601d1369821fd29de2a4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: "[Windows] Check build"

on: [ push, pull_request ]

jobs:
  build-lib:
    name: "[Windows] Build shared Go library"
    runs-on: windows-latest

    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-go@v2
        with:
          go-version: ^1.15
      - run: make
      - uses: actions/upload-artifact@v2
        with:
          name: shared-lib
          path: exports/lib/
          retention-days: 1

  #test-csharp:
  #  name: "[Windows] Test C# wrapper"
  #  needs: build-lib
  #  runs-on: windows-latest

  #  steps:
  #    - uses: actions/checkout@v2
  #    - uses: actions/setup-dotnet@v1
  #      with:
  #        dotnet-version: 5.0.x

  #    - uses: actions/download-artifact@v2
  #      with:
  #        name: shared-lib
  #        path: exports/lib/
  #    - name: Test
  #      run: make -C wrappers/csharp test
  #    - name: Build .nupkg
  #      run: make -C wrappers/csharp pack