Add asserts in testing to fix Coverity alert (#1864) #3771
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |