-
Notifications
You must be signed in to change notification settings - Fork 2
42 lines (35 loc) · 995 Bytes
/
BuildModCheck.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
name: Check Build Status
on:
push:
branches:
- master
- develop
paths:
- Source/**
tags-ignore:
# This will ignore release versions tagged with a version identifier. We'll
# use a separate workflow for them.
- 'v*'
pull_request:
branches:
- master
- develop
jobs:
build:
name: Build & Test v${{ matrix.rimworld-version }} on ${{ matrix.operating-system }}
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ubuntu-latest]
rimworld-version: [1.4, 1.5]
steps:
- name: Checkout Repository
uses: actions/[email protected]
- name: Setup Dotnet
uses: actions/[email protected]
with:
dotnet-version: 8.0.x
- name: Build Mod
run: dotnet build Source/${{ matrix.rimworld-version }} --configuration Release
- name: Test Mod
run: dotnet test Source/${{ matrix.rimworld-version }} --configuration Release