mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-20 03:16:34 +00:00
Also use Github Actions as a CI" (#847)
This commit is contained in:
parent
bce8972e7a
commit
17b2be7174
1 changed files with 27 additions and 0 deletions
27
.github/workflows/build.yml
vendored
Normal file
27
.github/workflows/build.yml
vendored
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
name: "Build job"
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- '*'
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [ubuntu-latest, macOS-latest, windows-latest]
|
||||||
|
dotnet: ['3.1.100']
|
||||||
|
environment: ['Debug', 'Release', 'Profile Debug', 'Profile Release']
|
||||||
|
name: ${{ matrix.environment }} build (Dotnet ${{ matrix.dotnet }}, OS ${{ matrix.os }})
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@master
|
||||||
|
- name: Setup dotnet
|
||||||
|
uses: actions/setup-dotnet@v1
|
||||||
|
with:
|
||||||
|
dotnet-version: ${{ matrix.dotnet }}
|
||||||
|
- name: Build
|
||||||
|
run: dotnet build -c "${{ matrix.environment }}"
|
||||||
|
- name: Test
|
||||||
|
run: dotnet test -c "${{ matrix.environment }}"
|
Loading…
Reference in a new issue