diff options
author | Richard Levitte <levitte@openssl.org> | 2021-03-29 16:04:21 +0200 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2021-03-31 05:28:46 +0200 |
commit | a350e3ef3899c012cd52a1130ffd5be9288f6f18 (patch) | |
tree | 70e8118a89f0f61bdbdf353078b5623c49f06232 /.github | |
parent | Increase HKDF_MAXBUF from 1024 to 2048 (diff) | |
download | openssl-a350e3ef3899c012cd52a1130ffd5be9288f6f18.tar.xz openssl-a350e3ef3899c012cd52a1130ffd5be9288f6f18.zip |
Re-implement ANSI C building with a Github workflow
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14729)
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ad24aaa5b8..85fbe952dc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,6 +36,18 @@ jobs: - name: make doc-nits run: make doc-nits + # This checks that we use ANSI C language syntax and semantics. + # We are not as strict with libraries, but rather adapt to what's + # expected to be available in a certain version of each platform. + check-ansi: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: config + run: CPPFLAGS=-ansi ./config no-asm no-makedepend enable-buildtest-c++ --strict-warnings -D_DEFAULT_SOURCE && perl configdata.pm --dump + - name: make + run: make -s -j4 + basic_gcc: runs-on: ubuntu-latest steps: |