SimAINet/.github/workflows/build.yml
Anthony Foxclaw 6c0d63d4bb Ported over more code from FSO
- Renamed VMInstruction.cs to VMThread.cs
- Created README.md
- Added Github CI
2020-04-15 21:17:50 -04:00

23 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 }}