Skip to content

WIP: Map Event Sync (Includes MapEvents, recruitment, prisoners) #586

WIP: Map Event Sync (Includes MapEvents, recruitment, prisoners)

WIP: Map Event Sync (Includes MapEvents, recruitment, prisoners) #586

Workflow file for this run

name: Build and Test
on:
pull_request:
types:
[opened, synchronize]
jobs:
build-and-test:
runs-on: ubuntu-latest
container:
image: garrettluskey/bannerlordcoop:latest
steps:
- name: Checkout Repo
run: |
git clone https://github.com/${{ github.repository }}
cd BannerlordCoop
git fetch origin "pull/${{ github.event.number }}/head:${{ github.event.pull_request.base.ref }}-PR-${{ github.event.number }}"
git checkout "${{ github.event.pull_request.base.ref }}-PR-${{ github.event.number }}"
- name: Link Game Assemblies Folder
run: |
ln -s /home/mb2 BannerlordCoop
- name: Build Solution
run: |
cd BannerlordCoop/source
dotnet build Coop.Core -c Release
- name: Run Unit Tests
run: |
cd BannerlordCoop/source
dotnet test -c Release --consoleLoggerParameters:ErrorsOnly