-
Notifications
You must be signed in to change notification settings - Fork 7
44 lines (35 loc) · 881 Bytes
/
test.yaml
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
name: Test
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build-dependencies:
uses: ./.github/workflows/build-dependencies.yaml
test:
name: Test
runs-on: ${{ matrix.os }}
needs: build-dependencies
strategy:
matrix:
os: [ubuntu-22.04, windows-2022, macos-13]
steps:
- uses: actions/checkout@v3
- name: Download bindings
uses: actions/download-artifact@v3
with:
name: bindings
path: rust-bindings
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: "7.0.x"
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --no-restore --verbosity normal