File tree Expand file tree Collapse file tree 7 files changed +68
-13
lines changed
Expand file tree Collapse file tree 7 files changed +68
-13
lines changed Original file line number Diff line number Diff line change 11name : test-clang-format
22
3- on : ["pull_request", "push"]
3+ on :
4+ workflow_call :
45
56jobs :
67 build :
Original file line number Diff line number Diff line change 11name : AWS CodeBuild Batch Workflow
22
33on :
4- pull_request :
5- push :
6- # Run daily
7- schedule :
8- - cron : " 0 0 * * *"
4+ workflow_call :
95
106permissions :
117 id-token : write
Original file line number Diff line number Diff line change 1+ # This workflow runs every weekday at 15:00 UTC (8AM PDT)
2+ name : Daily CI
3+
4+ on :
5+ schedule :
6+ - cron : " 00 15 * * 1-5"
7+
8+ jobs :
9+ codebuild :
10+ if : github.event_name != 'schedule' || github.repository_owner == 'aws'
11+ uses : ./.github/workflows/codebuild.yml
12+ secrets : inherit
Original file line number Diff line number Diff line change 11---
22name : macOS build and test AWS Encryption SDK for C
33
4- on : ["pull_request", "push"]
4+ on :
5+ workflow_call :
56
67
78jobs :
Original file line number Diff line number Diff line change 33# CBMC starter kit 2.9
44name : Run CBMC proofs
55on :
6- push :
7- branches-ignore :
8- - gh-pages
9- pull_request :
10- branches-ignore :
11- - gh-pages
126 workflow_dispatch :
7+ workflow_call :
138
149# USAGE
1510#
Original file line number Diff line number Diff line change 1+ name : Pull Request Workflow
2+
3+ on :
4+ pull_request :
5+
6+ jobs :
7+ clang-format :
8+ uses : ./.github/workflows/clang-format.yml
9+ secrets : inherit
10+ codebuild :
11+ uses : ./.github/workflows/codebuild.yml
12+ secrets : inherit
13+ osx :
14+ uses : ./.github/workflows/osx.yml
15+ secrets : inherit
16+ proof-ci :
17+ uses : ./.github/workflows/proof_ci.yaml
18+ secrets : inherit
19+ pr-ci-all-required :
20+ if : always()
21+ needs :
22+ - clang-format
23+ - codebuild
24+ - osx
25+ - proof-ci
26+ runs-on : ubuntu-22.04
27+ steps :
28+ - name : Verify all required jobs passed
29+ uses : re-actors/alls-green@release/v1
30+ with :
31+ jobs : ${{ toJSON(needs) }}
Original file line number Diff line number Diff line change 1+ name : Push Workflow
2+
3+ on :
4+ push :
5+ branches : master
6+
7+ jobs :
8+ clang-format :
9+ uses : ./.github/workflows/clang-format.yml
10+ secrets : inherit
11+ codebuild :
12+ uses : ./.github/workflows/codebuild.yml
13+ secrets : inherit
14+ osx :
15+ uses : ./.github/workflows/osx.yml
16+ secrets : inherit
17+ proof-ci :
18+ uses : ./.github/workflows/proof_ci.yaml
19+ secrets : inherit
You can’t perform that action at this time.
0 commit comments