Skip to content

Commit 56c34a3

Browse files
committed
Reverting debug changes
1 parent b47a53b commit 56c34a3

2 files changed

Lines changed: 80 additions & 9 deletions

File tree

.github/workflows/build-and-test.yml

Lines changed: 79 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,83 @@ jobs:
2727
build-verbosity: minimal
2828
ui-test-retry-interval-seconds: '60'
2929
node-version: none
30-
build-enable-code-analysis: 'false'
31-
verify-dotnet-consolidation: false
32-
cancel-in-progress-for-this-pr: 'false'
33-
cancel-workflow-on-failure: 'false'
30+
31+
build-and-test-standard-runners:
32+
if: github.ref_name == github.event.repository.default_branch
33+
name: Build and Test - root solution (standard runners)
34+
uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@dev
35+
with:
36+
# Since dev builds are not awaited by anyone, they can run on the slower free runners.
37+
parent-job-name: root-solution-standard-runners
38+
timeout-minutes: 50
39+
free-up-space: 'true'
40+
set-up-sql-server: 'true'
41+
set-up-azurite: 'true'
42+
set-up-elasticsearch: 'true'
43+
build-create-binary-log: 'true'
44+
blame-hang-timeout: 780000
45+
# This way, we can see Node.js build issues in the build log.
46+
build-verbosity: minimal
47+
ui-test-retry-interval-seconds: '60'
48+
# We don't need Node.js.
49+
node-version: none
50+
51+
build-and-test-nuget-test:
52+
name: Build and Test - NuGetTest solution
53+
uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@issue/OSOE-1220
54+
with:
55+
parent-job-name: nuget-solution
56+
build-directory: NuGetTest
57+
timeout-minutes: 20
58+
blame-hang-timeout: 480000
59+
# This way, we can see Node.js build issues in the build log.
60+
build-verbosity: minimal
61+
ui-test-retry-interval-seconds: '60'
62+
node-version: none
63+
64+
codespell:
65+
name: Codespell
66+
uses: Lombiq/GitHub-Actions/.github/workflows/codespell.yml@dev
67+
68+
asset-lint:
69+
name: Lint Assets
70+
uses: Lombiq/GitHub-Actions/.github/workflows/asset-lint.yml@issue/OSOE-1220
71+
72+
powershell-static-code-analysis:
73+
name: PowerShell Static Code Analysis
74+
uses: Lombiq/PowerShell-Analyzers/.github/workflows/static-code-analysis.yml@dev
75+
with:
76+
machine-types: '["ubuntu-24.04"]'
77+
78+
yaml-linting:
79+
name: YAML Linting
80+
uses: Lombiq/GitHub-Actions/.github/workflows/yaml-lint.yml@dev
81+
with:
82+
config-file-path: tools/Lombiq.GitHub.Actions/.trunk/configs/.yamllint.yaml
83+
search-path: .
84+
85+
post-pull-request-checks-automation:
86+
name: Post Pull Request Checks Automation
87+
needs: [build-and-test-larger-runners, build-and-test-nuget-test, codespell, asset-lint, powershell-static-code-analysis]
88+
if: github.event.pull_request != ''
89+
uses: Lombiq/GitHub-Actions/.github/workflows/post-pull-request-checks-automation.yml@dev
3490
secrets:
35-
ENVIRONMENT_VARIABLES_JSON: |
36-
{
37-
"Lombiq_Tests_UI__SeleniumLogConfiguration__IsEnabled": "true"
38-
}
91+
JIRA_BASE_URL: ${{ secrets.DEFAULT_JIRA_BASE_URL }}
92+
JIRA_USER_EMAIL: ${{ secrets.DEFAULT_JIRA_USER_EMAIL }}
93+
JIRA_API_TOKEN: ${{ secrets.DEFAULT_JIRA_API_TOKEN }}
94+
MERGE_TOKEN: ${{ secrets.LOMBIQBOT_GITHUB_PERSONAL_ACCESS_TOKEN }}
95+
96+
add-windows-build-warning-label:
97+
name: Add Windows Build Warning Label
98+
runs-on: ubuntu-24.04
99+
timeout-minutes: 2
100+
needs: [build-and-test-larger-runners, build-and-test-nuget-test, powershell-static-code-analysis]
101+
steps:
102+
- name: Add Windows Build Warning Label
103+
uses: Lombiq/GitHub-Actions/.github/actions/add-remove-label@dev
104+
with:
105+
# The token is necessary to be able to add the label even if the workflow is triggered by a pull request
106+
# coming from a fork.
107+
token: ${{ secrets.LOMBIQBOT_GITHUB_PERSONAL_ACCESS_TOKEN }}
108+
labels: requires-windows-build
109+
type: add

0 commit comments

Comments
 (0)