]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
GitHub CI: Add 'check-update' and 'check-docs'
authorRichard Levitte <levitte@openssl.org>
Thu, 17 Dec 2020 20:55:07 +0000 (21:55 +0100)
committerRichard Levitte <levitte@openssl.org>
Thu, 17 Dec 2020 21:06:38 +0000 (22:06 +0100)
'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)

.github/workflows/ci.yml

index 601249f6f4799989c567901fec876811f833c5c6..4793246b5a0d7e80f919cf95e5056c2af86f6dcb 100644 (file)
@@ -12,6 +12,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:
@@ -22,8 +46,6 @@ jobs:
       run: make -s -j4
     - name: make test
       run: make test HARNESS_JOBS=${HARNESS_JOBS:-4}
-    - name: make doc-nits
-      run: make doc-nits
 
   basic_clang:
     runs-on: ubuntu-latest