blob: fa5473c5439dfdfb323dc540306ffa833a563372 (
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
41
42
43
44
45
46
47
48
49
50
51
|
name: "[Windows] Test & check build"
on: [ push, pull_request ]
jobs:
test-go:
name: "[Windows] Test Go"
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: ^1.15
- run: make test-go
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
|