mirror of
https://github.com/openssl/openssl.git
synced 2024-12-27 06:21:43 +08:00
b17e799298
Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15229)
57 lines
1.9 KiB
YAML
57 lines
1.9 KiB
YAML
name: FIPS Checksums
|
|
on: [pull_request]
|
|
jobs:
|
|
apply-label:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: install unifdef
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get -yq --no-install-suggests --no-install-recommends --force-yes install unifdef
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
ref: ${{ github.event.pull_request.base.sha }}
|
|
- name: create build dirs
|
|
run: |
|
|
mkdir ./build-pristine
|
|
mkdir ./build
|
|
- name: config pristine
|
|
run: ../config enable-fips && perl configdata.pm --dump
|
|
working-directory: ./build-pristine
|
|
- name: make build_generated pristine
|
|
run: make -s build_generated
|
|
working-directory: ./build-pristine
|
|
- name: make fips-checksums pristine
|
|
run: make fips-checksums
|
|
working-directory: ./build-pristine
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
ref: ${{ github.event.pull_request.head.sha }}
|
|
clean: false
|
|
- name: config
|
|
run: ../config enable-fips && perl configdata.pm --dump
|
|
working-directory: ./build
|
|
- name: make build_generated
|
|
run: make -s build_generated
|
|
working-directory: ./build
|
|
- name: make fips-checksums
|
|
run: make fips-checksums
|
|
working-directory: ./build
|
|
- name: update checksums pristine
|
|
run: make update-fips-checksums
|
|
working-directory: ./build-pristine
|
|
- name: make diff-fips-checksums
|
|
run: make diff-fips-checksums
|
|
working-directory: ./build
|
|
|
|
# - uses: actions/github-script@v4
|
|
# with:
|
|
# github-token: ${{secrets.GITHUB_TOKEN}}
|
|
# script: |
|
|
# github.issues.addLabels({
|
|
# issue_number: context.issue.number,
|
|
# owner: context.repo.owner,
|
|
# repo: context.repo.repo,
|
|
# labels: ['Triage']
|
|
# })
|