forked from aws/aws-lc
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (39 loc) · 1.23 KB
/
abidiff.yml
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
name: ABI Diff
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
jobs:
libs:
if: github.repository_owner == 'aws'
name: libcrypto and libssl
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
repository: aws/aws-lc
ref: ${{ github.ref }}
path: ${{ github.workspace }}/next
- uses: actions/checkout@v3
with:
repository: aws/aws-lc
ref: ${{ github.base.ref }}
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
- name: Perform libssl ABI Diff
if: ${{ success() || failure() }}
run: |
docker run -v ${{ github.workspace }}/previous:/previous -v ${{ github.workspace }}/next:/next abidiff ssl