mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
25
.github/workflows/dotnet.yml
vendored
25
.github/workflows/dotnet.yml
vendored
@ -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
27
.github/workflows/release.yml
vendored
Normal 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
35
.github/workflows/tests.yml
vendored
Normal 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
|
Reference in New Issue
Block a user