Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Psichorex committed Dec 11, 2023
2 parents 0a21d64 + 391cc86 commit 0df7660
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/build-and-test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:

jobs:
remove-run-windows-build-label:
if: github.ref_name != github.event.repository.default_branch &&
if: github.ref_name != github.event.repository.default_branch &&
github.event.label.name == 'run-windows-build'
name: Remove Run Windows Build Label
runs-on: ubuntu-22.04
Expand All @@ -30,11 +30,12 @@ jobs:
type: remove

build-and-test-larger-runners:
if: github.ref_name != github.event.repository.default_branch &&
if: github.ref_name != github.event.repository.default_branch &&
(github.event_name == 'workflow_dispatch' || github.event.label.name == 'run-windows-build')
name: Build and Test Windows - root solution (larger runners)
uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@issue/OSOE-481
with:
parent-job-name: "root-solution-larger-runners"
machine-types: "['gitrunners-windows-2022-x64-8vcpu']"
timeout-minutes: 30
set-up-sql-server: "true"
Expand All @@ -52,6 +53,7 @@ jobs:
name: Build and Test Windows - root solution (standard runners)
uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.ymlissue/OSOE-481
with:
parent-job-name: "root-solution-standard-runners"
machine-types: "['windows-2022']"
timeout-minutes: 60
set-up-sql-server: "true"
Expand All @@ -63,12 +65,13 @@ jobs:
test-filter: "FullyQualifiedName!~SecurityScanningTests"

build-and-test-nuget-test:
if: github.ref_name == github.event.repository.default_branch ||
if: github.ref_name == github.event.repository.default_branch ||
github.event_name == 'workflow_dispatch' ||
github.event.label.name == 'run-windows-build'
name: Build and Test Windows - NuGetTest solution
uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@issue/OSOE-481
with:
parent-job-name: "nuget-solution"
machine-types: "['windows-2022']"
build-directory: NuGetTest
timeout-minutes: 25
Expand All @@ -78,7 +81,7 @@ jobs:
test-filter: "FullyQualifiedName!~SecurityScanningTests"

powershell-static-code-analysis:
if: github.ref_name == github.event.repository.default_branch ||
if: github.ref_name == github.event.repository.default_branch ||
github.event_name == 'workflow_dispatch' ||
github.event.label.name == 'run-windows-build'
name: PowerShell Static Code Analysis Windows
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
name: Build and Test - root solution (larger runners)
uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@issue/OSOE-481
with:
parent-job-name: "root-solution-larger-runners"
machine-types: "['buildjet-4vcpu-ubuntu-2204']"
timeout-minutes: 20
set-up-sql-server: "true"
Expand All @@ -29,6 +30,7 @@ jobs:
name: Build and Test - root solution (standard runners)
uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@issue/OSOE-481
with:
parent-job-name: "root-solution-standard-runners"
timeout-minutes: 40
set-up-sql-server: "true"
set-up-azurite: "true"
Expand All @@ -39,6 +41,7 @@ jobs:
name: Build and Test - NuGetTest solution
uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@issue/OSOE-481
with:
parent-job-name: "nuget-solution"
build-directory: NuGetTest
timeout-minutes: 15
blame-hang-timeout: "5m"
Expand Down

This file was deleted.

0 comments on commit 0df7660

Please sign in to comment.