-
Notifications
You must be signed in to change notification settings - Fork 1
46 lines (39 loc) · 1005 Bytes
/
ci.yml
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
on:
push:
branches:
- main
pull_request:
branches:
- main
name: .NET CI
jobs:
test:
name: Test .NET SDK
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Checkout sources
uses: actions/checkout@v2
# macOS and Linux
- name: Install libextism
if: runner.os != 'Windows'
uses: ./.github/actions/libextism
# Windows
- name: Download Windows binaries
if: runner.os == 'Windows'
uses: robinraju/release-downloader@v1.8
with:
repository: 'extism/extism'
tag: latest
fileName: 'libextism-x86_64-pc-windows-msvc-main.tar.gz'
out-file-path: 'test/Extism.Sdk/bin/Debug/net7.0'
extract: true
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.x
- name: Run tests
run: |
make test