Skip to content

Commit

Permalink
ci: adding GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
dansiegel committed Feb 5, 2023
1 parent f4fbe38 commit 6e73507
Show file tree
Hide file tree
Showing 23 changed files with 186 additions and 661 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/build_core.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: build_core

on:
workflow_dispatch:
pull_request:
branches:
- master
paths:
- .github/workflows/build_core.yml
- Directory.Build.props
- Directory.Build.targets
- xunit.runner.json
- 'src/Prism.Core/**'
- 'tests/Prism.Core.Tests/**'

jobs:
build-prism-core:
uses: avantipoint/workflow-templates/.github/workflows/dotnet-build.yml@master
with:
name: Build Prism.Core
solution-path: PrismLibrary_Core.slnf
24 changes: 24 additions & 0 deletions .github/workflows/build_forms.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: build_forms

on:
workflow_dispatch:
pull_request:
branches:
- master
paths:
- .github/workflows/build_forms.yml
- Directory.Build.props
- Directory.Build.targets
- Packages.props
- xunit.runner.json
- 'src/Prism.Core/**'
- 'tests/Prism.Core.Tests/**'
- 'src/Forms/**'
- 'tests/Forms/**'

jobs:
build-prism-forms:
uses: avantipoint/workflow-templates/.github/workflows/msbuild-build.yml@master
with:
name: Build Prism.Forms
solution-path: PrismLibrary_Forms.slnf
30 changes: 30 additions & 0 deletions .github/workflows/build_uno.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: build_uno

on:
workflow_dispatch:
pull_request:
branches:
- master
paths:
- .github/workflows/build_forms.yml
- Directory.Build.props
- Directory.Build.targets
- Packages.props
- xunit.runner.json
- 'src/Prism.Core/**'
- 'tests/Prism.Core.Tests/**'
- 'src/Wpf/**'
- 'tests/Wpf/**'
- 'src/Uno/**'
- 'tests/Uno/**'

jobs:
build-prism-uno:
uses: avantipoint/workflow-templates/.github/workflows/dotnet-build.yml@master
with:
name: Build Prism.Uno
solution-path: PrismLibrary_Uno.slnf
dotnet-version: |
6.0.x
7.0.x
uno-check: true
24 changes: 24 additions & 0 deletions .github/workflows/build_wpf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: build_wpf

on:
workflow_dispatch:
pull_request:
branches:
- master
paths:
- .github/workflows/build_forms.yml
- Directory.Build.props
- Directory.Build.targets
- Packages.props
- xunit.runner.json
- 'src/Prism.Core/**'
- 'tests/Prism.Core.Tests/**'
- 'src/Wpf/**'
- 'tests/Wpf/**'

jobs:
build-prism-wpf:
uses: avantipoint/workflow-templates/.github/workflows/dotnet-build.yml@master
with:
name: Build Prism.Wpf
solution-path: PrismLibrary_Wpf.slnf
56 changes: 0 additions & 56 deletions PrismLibrary_Core.sln

This file was deleted.

14 changes: 14 additions & 0 deletions PrismLibrary_Core.slnf
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"solution": {
"path": "PrismLibrary.sln",
"projects": [
"src\\Containers\\Prism.DryIoc.Shared\\Prism.DryIoc.Shared.shproj",
"src\\Containers\\Prism.Unity.Shared\\Prism.Unity.Shared.shproj",
"src\\Prism.Core\\Prism.Core.csproj",
"tests\\Containers\\Prism.Container.DryIoc.Tests\\Prism.Ioc.DryIoc.Tests.csproj",
"tests\\Containers\\Prism.Container.Shared\\Prism.Ioc.Shared.shproj",
"tests\\Containers\\Prism.Container.Unity.Tests\\Prism.Ioc.Unity.Tests.csproj",
"tests\\Prism.Core.Tests\\Prism.Core.Tests.csproj"
]
}
}
Loading

0 comments on commit 6e73507

Please sign in to comment.