123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125 |
- name: GitHub CI
- on: [pull_request, push]
- # for some reason, this does not work:
- # variables:
- # BUILDOPTS: "-j4"
- # HARNESS_JOBS: "${HARNESS_JOBS:-4}"
- # for some reason, this does not work:
- # before_script:
- # - 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:
- - uses: actions/checkout@v2
- - name: config
- run: ./config --strict-warnings && perl configdata.pm --dump
- - name: make
- run: make -s -j4
- - name: make test
- run: make test HARNESS_JOBS=${HARNESS_JOBS:-4}
- basic_clang:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- - name: config
- run: CC=clang ./config --strict-warnings && perl configdata.pm --dump
- - name: make
- run: make -s -j4
- - name: make test
- run: make test HARNESS_JOBS=${HARNESS_JOBS:-4}
- minimal:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- - name: config
- run: ./config --strict-warnings no-bulk no-pic no-asm -DOPENSSL_NO_SECURE_MEMORY -DOPENSSL_SMALL_FOOTPRINT && perl configdata.pm --dump
- - name: make
- run: make -s -j4
- - name: make test
- run: make test HARNESS_JOBS=${HARNESS_JOBS:-4}
- no-deprecated:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- - name: config
- run: ./config --strict-warnings no-deprecated && perl configdata.pm --dump
- - name: make
- run: make -s -j4
- - name: make test
- run: make test HARNESS_JOBS=${HARNESS_JOBS:-4}
- sanitizers:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- - name: config
- run: ./config --debug enable-asan enable-ubsan enable-rc5 enable-md2 enable-ec_nistp_64_gcc_128 && perl configdata.pm --dump
- - name: make
- run: make -s -j4
- - name: make test
- run: make test HARNESS_JOBS=${HARNESS_JOBS:-4} OPENSSL_TEST_RAND_ORDER=0
- enable_non-default_options:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- - name: config
- run: ./config --strict-warnings no-ec enable-ssl-trace enable-zlib enable-zlib-dynamic enable-crypto-mdebug enable-crypto-mdebug-backtrace enable-egd && perl configdata.pm --dump
- - name: make
- run: make -s -j4
- - name: make test
- run: make test HARNESS_JOBS=${HARNESS_JOBS:-4}
- legacy:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- - name: config
- run: ./config -Werror --debug no-afalgeng no-shared enable-crypto-mdebug enable-rc5 enable-md2 && perl configdata.pm --dump
- - name: make
- run: make -s -j4
- - name: make test
- run: make test HARNESS_JOBS=${HARNESS_JOBS:-4}
- buildtest:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- - name: config
- run: ./config no-asm no-makedepend enable-buildtest-c++ --strict-warnings -D_DEFAULT_SOURCE && perl configdata.pm --dump
- - name: make
- run: make -s -j4
- - name: make test
- run: make test HARNESS_JOBS=${HARNESS_JOBS:-4}
|