Merge remote-tracking branch 'origin/master'

This commit is contained in:
Timothy Baldridge
2021-01-04 14:09:08 -07:00
3 changed files with 62 additions and 25 deletions

View File

@ -1,25 +0,0 @@
name: .NET
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: self-hosted
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.101
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal -p:ParallelizeTestCollections=false

27
.github/workflows/release.yml vendored Normal file
View File

@ -0,0 +1,27 @@
name: Create Release
on:
workflow_dispatch:
inputs:
version:
description: 'Release Version'
required: true
jobs:
build:
runs-on: self-hosted
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.101
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Publish App
run: dotnet publish Wabbajack\Wabbajack.csproj --runtime win10-x64 --configuration Release /p:Platform=x64 -o c:\tmp\PublishApp --self-contained
- name: Publish Launcher
run: dotnet publish Wabbajack.Launcher\Wabbajack.Launcher.csproj --runtime win10-x64 --configuration Release /p:Platform=x64 -o c:\tmp\PublishLauncher --self-contained

35
.github/workflows/tests.yml vendored Normal file
View File

@ -0,0 +1,35 @@
name: .NET
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: self-hosted
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.101
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore --configuration Release /p:Platform=x64
- name: Test Wabbajack.Common.Test
run: dotnet test --verbosity normal --configuration Release /p:Platform=x64 Wabbajack.Common.Test
- name: Test Compression.BSA.Test
run: dotnet test --verbosity normal --configuration Release /p:Platform=x64 Compression.BSA.Test
- name: Test Wabbajack.VirtualFileSystem.Test
run: dotnet test --verbosity normal --configuration Release /p:Platform=x64 Wabbajack.VirtualFileSystem.Test
- name: Test Wabbajack.Test
run: dotnet test --verbosity normal --configuration Release /p:Platform=x64 Wabbajack.Test
- name: Test Wabbajack.App.Test
run: dotnet test --verbosity normal --configuration Release /p:Platform=x64 Wabbajack.App.Test
- name: Test Wabbajack.Server.Test
run: dotnet test --verbosity normal --configuration Release /p:Platform=x64 Wabbajack.Server.Test