-
Notifications
You must be signed in to change notification settings - Fork 0
70 lines (63 loc) · 2.08 KB
/
Copy pathci-alpha.yml
File metadata and controls
70 lines (63 loc) · 2.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# Alpha-tier proxy, BHoM variant. Bundles the tier's checks plus
# copyright-compliance (BHoM enforces OSS copyright; the BHE variant omits it).
# Copy to .github/workflows/ci-alpha.yml in each BHoM alpha repo.
# Runs on pull_request, non-blocking until a ruleset requires its checks.
# Workflow name CI keeps check contexts bare: required contexts are the job names.
name: CI
on:
pull_request:
branches:
- develop
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true
jobs:
ci-build:
runs-on: windows-2025-vs2026
timeout-minutes: 30
steps:
- name: Run build
uses: BHoM/CI_Toolkit/.github/actions/ci-build@develop
with:
app_id: ${{ secrets.BHOM_APP_ID }}
private_key: ${{ secrets.BHOM_APP_PRIVATE_KEY }}
ci-copyright-compliance:
runs-on: windows-2025-vs2026
timeout-minutes: 20
permissions:
contents: read
pull-requests: read
actions: write
steps:
- name: Run copyright compliance
uses: BHoM/CI_Toolkit/.github/actions/ci-compliance@develop
with:
check_type: copyright
patterns: '*.cs'
app_id: ${{ secrets.BHOM_APP_ID }}
private_key: ${{ secrets.BHOM_APP_PRIVATE_KEY }}
ci-project-compliance:
runs-on: windows-2025-vs2026
timeout-minutes: 20
permissions:
contents: read
pull-requests: read
actions: write
steps:
- name: Run project compliance
uses: BHoM/CI_Toolkit/.github/actions/ci-compliance@develop
with:
check_type: project
patterns: '*AssemblyInfo.cs *.csproj'
app_id: ${{ secrets.BHOM_APP_ID }}
private_key: ${{ secrets.BHOM_APP_PRIVATE_KEY }}
ci-serialisation:
runs-on: windows-2025-vs2026
timeout-minutes: 90
steps:
- name: Run serialisation
uses: BHoM/CI_Toolkit/.github/actions/ci-serialisation@develop
with:
app_id: ${{ secrets.BHOM_APP_ID }}
private_key: ${{ secrets.BHOM_APP_PRIVATE_KEY }}
base_ref: ${{ github.base_ref }}