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