mirror of
https://github.com/simtactics/SimAINet.git
synced 2025-03-22 03:32:20 +00:00
24 lines
576 B
YAML
24 lines
576 B
YAML
|
name: build
|
||
|
|
||
|
on: [push, pull_request]
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
|
||
|
runs-on: ${{ matrix.os }}
|
||
|
strategy:
|
||
|
matrix:
|
||
|
dotnet: [ '3.1.200', '3.1.201' ]
|
||
|
build_mode: [ 'Release', 'Debug' ]
|
||
|
os: [ubuntu-latest, windows-latest, macOS-latest]
|
||
|
steps:
|
||
|
- uses: actions/checkout@v1
|
||
|
- name: Setup .NET Core
|
||
|
uses: actions/setup-dotnet@v1
|
||
|
with:
|
||
|
dotnet-version: ${{ matrix.dotnet }}
|
||
|
- name: Build
|
||
|
run: dotnet build src -c ${{ matrix.build_mode }}
|
||
|
- name: Run tests
|
||
|
run: dotnet test src -c ${{ matrix.build_mode }}
|