|
8 | 8 | - dev |
9 | 9 |
|
10 | 10 | jobs: |
11 | | - build-and-test-larger-runners: |
12 | | - if: github.ref_name != github.event.repository.default_branch |
13 | | - name: Build and Test - root solution (larger runners) |
14 | | - uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-orchard-core.yml@issue/OSOE-1220 |
15 | | - with: |
16 | | - parent-job-name: root-solution-larger-runners |
17 | | - machine-types: '["warp-ubuntu-2404-x64-4x"]' |
18 | | - timeout-minutes: 30 |
19 | | - set-up-sql-server: 'true' |
20 | | - set-up-azurite: 'true' |
21 | | - set-up-elasticsearch: 'true' |
22 | | - build-create-binary-log: 'true' |
23 | | - blame-hang-timeout: 600000 |
24 | | - build-enable-nuget-caching: 'true' |
25 | | - build-enable-npm-caching: 'true' |
26 | | - # This way, we can see Node.js build issues in the build log. |
27 | | - build-verbosity: minimal |
28 | | - ui-test-retry-interval-seconds: '60' |
29 | | - node-version: none |
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 | 11 | asset-lint: |
69 | 12 | name: Lint Assets |
70 | 13 | 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 |
90 | | - secrets: |
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