summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2020-12-17 21:55:07 +0100
committerRichard Levitte <levitte@openssl.org>2020-12-19 03:04:29 +0100
commit5a5d87a936ceeca1648288e1efe4296687193b16 (patch)
tree3163107797a1f346bd9b86eae6a3e811a3b5d332
parent3b5edb4a8c7c3af0697829425e6d44548dddfcbc (diff)
downloadopenssl-new-5a5d87a936ceeca1648288e1efe4296687193b16.tar.gz
GitHub CI: Add 'check-update' and 'check-docs'
'check-update' runs a 'make update' to check that it wasn't forgotten. 'check-docs' runs 'make doc-nits'. We have that as a separate job to make it more prominent. Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> Reviewed-by: Kurt Roeckx <kurt@roeckx.be> (Merged from https://github.com/openssl/openssl/pull/13701) (cherry picked from commit 8175476b81c6b54bfa1c8555b35561099b202c4d)
-rw-r--r--.github/workflows/ci.yml26
1 files changed, 24 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 6073ba29bf..a4565e5499 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -13,6 +13,30 @@ on: [pull_request, push]
# - make="make -s"
jobs:
+ check_update:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: config
+ run: ./config --strict-warnings && perl configdata.pm --dump
+ - name: make build_generated
+ run: make -s build_generated
+ - name: make update
+ run: make -s update
+ - name: git diff
+ run: git diff --exit-code
+
+ check_docs:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: config
+ run: ./config --strict-warnings && perl configdata.pm --dump
+ - name: make build_generated
+ run: make -s build_generated
+ - name: make doc-nits
+ run: make doc-nits
+
basic_gcc:
runs-on: ubuntu-latest
steps:
@@ -23,8 +47,6 @@ jobs:
run: make -s -j4
- name: make test
run: make test
- - name: make doc-nits
- run: make doc-nits
basic_clang:
runs-on: ubuntu-latest