-
-
Notifications
You must be signed in to change notification settings - Fork 39
33 lines (31 loc) · 890 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
name: CI
on:
pull_request:
branches: [ main, develop ]
workflow_dispatch:
jobs:
build:
strategy:
matrix:
platform: [ ubuntu-latest, macOS-latest, windows-latest ]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.0.100'
- uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install Python (Windows)
if: matrix.platform == 'windows-latest'
uses: actions/setup-python@v4
with:
python-version: '3.10'
- run: python --version
- name: Test (Unix)
if: matrix.platform == 'ubuntu-latest' || matrix.platform == 'macOS-latest'
run: ./build.sh test
- name: Test (Windows)
if: matrix.platform == 'windows-latest'
run: .\build.bat test