generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 176
117 lines (113 loc) · 4.31 KB
/
abidiff.yml
File metadata and controls
117 lines (113 loc) · 4.31 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
name: ABI Monitoring
on:
push:
branches: [ '*' ]
pull_request:
branches: [ '*' ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
env:
DOCKER_BUILDKIT: 1
GOPROXY: https://proxy.golang.org,direct
permissions:
contents: read
jobs:
libcrypto-incremental:
if: github.repository_owner == 'aws'
name: libcrypto incremental ABI check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
repository: aws/aws-lc
ref: ${{ github.event_name == 'push' && github.event.ref || github.event.pull_request.head.sha }}
path: ${{ github.workspace }}/next
- uses: actions/checkout@v3
with:
repository: aws/aws-lc
ref: ${{ github.event_name == 'push' && github.event.before || github.event.pull_request.base.sha }}
path: ${{ github.workspace }}/previous
- name: Build Docker Image
working-directory: ${{ github.workspace }}/next/.github/docker_images/abidiff
run: |
docker build -t abidiff .
- name: Perform libcrypto ABI Diff
run: |
docker run -v ${{ github.workspace }}/previous:/previous -v ${{ github.workspace }}/next:/next abidiff crypto
libssl-incremental:
if: github.repository_owner == 'aws'
name: libssl incremental ABI check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
repository: aws/aws-lc
ref: ${{ github.event_name == 'push' && github.event.ref || github.event.pull_request.head.sha }}
path: ${{ github.workspace }}/next
- uses: actions/checkout@v3
with:
repository: aws/aws-lc
ref: ${{ github.event_name == 'push' && github.event.before || github.event.pull_request.base.sha }}
path: ${{ github.workspace }}/previous
- name: Build Docker Image
working-directory: ${{ github.workspace }}/next/.github/docker_images/abidiff
run: |
docker build -t abidiff .
- name: Perform libssl ABI Diff
run: |
docker run -v ${{ github.workspace }}/previous:/previous -v ${{ github.workspace }}/next:/next abidiff ssl
libcrypto-release:
if: github.repository_owner == 'aws'
name: libcrypto release ABI check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
repository: aws/aws-lc
ref: ${{ github.event_name == 'push' && github.event.ref || github.event.pull_request.head.sha }}
path: ${{ github.workspace }}/next
- name: Get latest release tag
id: get-latest-tag
uses: ./next/.github/actions/latest-semver-tag
with:
path: ${{ github.workspace }}/next
- uses: actions/checkout@v3
with:
repository: aws/aws-lc
ref: ${{ steps.get-latest-tag.outputs.latest-tag }}
path: ${{ github.workspace }}/previous
- name: Build Docker Image
working-directory: ${{ github.workspace }}/next/.github/docker_images/abidiff
run: |
docker build -t abidiff .
- name: Perform libcrypto ABI Diff against release
run: |
docker run -v ${{ github.workspace }}/previous:/previous -v ${{ github.workspace }}/next:/next abidiff crypto
libssl-release:
if: github.repository_owner == 'aws'
name: libssl release ABI check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
repository: aws/aws-lc
ref: ${{ github.event_name == 'push' && github.event.ref || github.event.pull_request.head.sha }}
path: ${{ github.workspace }}/next
- name: Get latest release tag
id: get-latest-tag
uses: ./next/.github/actions/latest-semver-tag
with:
path: ${{ github.workspace }}/next
- uses: actions/checkout@v3
with:
repository: aws/aws-lc
ref: ${{ steps.get-latest-tag.outputs.latest-tag }}
path: ${{ github.workspace }}/previous
- name: Build Docker Image
working-directory: ${{ github.workspace }}/next/.github/docker_images/abidiff
run: |
docker build -t abidiff .
- name: Perform libssl ABI Diff against release
run: |
docker run -v ${{ github.workspace }}/previous:/previous -v ${{ github.workspace }}/next:/next abidiff ssl