Repository navigation
66 lines (49 loc) · 1.63 KB
/
Copy pathBuild.yml
File metadata and controls
66 lines (49 loc) · 1.63 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
# Entry point for GHA PR/CI validation. Mirrors the 1ES `1ES.Build.yml`
# split: this file orchestrates, each stage lives in its own reusable.
name: Build
on:
push:
branches: [main]
pull_request:
branches: [main, 'feature/*', 'user/*']
workflow_call:
workflow_dispatch:
concurrency:
group: build-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
actions: read
contents: read
jobs:
# Dependency feed check: resolve the locked graph through the public MxcDependencies
# feed so a crate not yet in the feed fails at PR time.
dependency-feed-check:
uses: ./.github/workflows/Dependency.Feed.Check.Job.yml
package-lock-check:
uses: ./.github/workflows/Package.Lock.Check.Job.yml
versioning-checks:
needs: package-lock-check
uses: ./.github/workflows/Versioning.Checks.Job.yml
lint:
needs: dependency-feed-check
uses: ./.github/workflows/Lint.Job.yml
windows:
needs: dependency-feed-check
uses: ./.github/workflows/Build.Windows.Job.yml
linux:
needs: dependency-feed-check
uses: ./.github/workflows/Build.Linux.Job.yml
macos:
needs: dependency-feed-check
uses: ./.github/workflows/Build.MacOS.Job.yml
sdk-unit-tests:
needs: package-lock-check
uses: ./.github/workflows/SDK.Unit.Test.Job.yml
sdk-dotnet-tests:
uses: ./.github/workflows/SDK.Dotnet.Test.Job.yml
package-npm-sdk:
needs: [package-lock-check, windows, linux, macos]
uses: ./.github/workflows/Package.NpmSdk.Job.yml
sdk-integration-tests:
needs: [package-lock-check, package-npm-sdk]
uses: ./.github/workflows/SDK.Integration.Test.Job.yml