Skip to content

Commit

Permalink
Merge branch 'main' into project-ui-scaffold
Browse files Browse the repository at this point in the history
  • Loading branch information
WiIIiam278 authored Jan 31, 2023
2 parents 9230bae + 869fb2c commit 4464f16
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 6 deletions.
37 changes: 37 additions & 0 deletions azure-pipelines-official.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
trigger:
- main
- release/*
pr:
- none

jobs:
- job:
strategy:
matrix:
Linux:
imageName: 'ubuntu-latest'
macOS:
imageName: 'macOS-latest'
Windows:
imageName: 'windows-latest'
displayName: Build & Publish
pool:
vmImage: $(imageName)
steps:
- checkout: self
clean: true

- task: DotNetCoreCLI@2
inputs:
command: 'publish'
projects: $(Build.SourcesDirectory)/src/SerialLoops/SerialLoops.csproj
arguments: '-c Release -o $(Build.ArtifactStagingDirectory)'
publishWebProjects: false
displayName: Build & Publish Serial Loops

- task: PublishBuildArtifacts@1
inputs:
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
ArtifactName: '$(imageName)'
publishLocation: 'Container'
displayName: Publish build artifacts
12 changes: 7 additions & 5 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
trigger:
- none
pr:
- main

jobs:
- job:
strategy:
matrix:
linux:
Linux:
imageName: 'ubuntu-latest'
mac:
macOS:
imageName: 'macOS-latest'
windows:
Windows:
imageName: 'windows-latest'
displayName: Build & Test
pool:
Expand All @@ -21,12 +23,12 @@ jobs:
- task: DotNetCoreCLI@2
inputs:
command: 'build'
projects: SerialLoops.sln
projects: $(Build.SourcesDirectory)/SerialLoops.sln
displayName: Build solution

- task: DotNetCoreCLI@2
inputs:
comand: 'test'
projects: test/SerialLoops.Tests/SerialLoops.Tests.csproj
projects: $(Build.SourcesDirectory)/test/SerialLoops.Tests/SerialLoops.Tests.csproj
publishTestResults: true

5 changes: 5 additions & 0 deletions src/SerialLoops.Lib/SerialLoops.Lib.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,9 @@
<Nullable>disable</Nullable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="HaruhiChokuretsuLib" Version="0.10.0" />
<PackageReference Include="NitroPacker.Core" Version="2.0.0" />
</ItemGroup>

</Project>
1 change: 0 additions & 1 deletion src/SerialLoops/SerialLoops.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="HaruhiChokuretsuLib" Version="0.10.0" />
<PackageReference Include="System.Text.Json" Version="7.0.1" />
</ItemGroup>

Expand Down

0 comments on commit 4464f16

Please sign in to comment.