1 # Copyright 2021 The OpenSSL Project Authors. All Rights Reserved.
3 # Licensed under the Apache License 2.0 (the "License"). You may not use
4 # this file except in compliance with the License. You can obtain a copy
5 # in the file LICENSE in the source distribution or at
6 # https://www.openssl.org/source/license.html
18 # This has to be a separate job, it seems, because we want to use a
24 image: ['alpine:edge', 'alpine:latest']
26 runs-on: ubuntu-latest
28 image: ${{ matrix.image }}
30 - name: install packages
32 apk --no-cache add build-base perl linux-headers git ${{ matrix.cc }}
34 - uses: actions/checkout@v3
41 if [[ ${cc} == "clang" ]] ; then
42 # https://www.openwall.com/lists/musl/2022/02/16/14
43 extra_cflags="-Wno-sign-compare"
46 CC=${{ matrix.cc }} ./config --banner=Configured no-shared \
47 -Wall -Werror enable-fips --strict-warnings -DOPENSSL_USE_IPV6=0 ${extra_cflags}
50 run: ./configdata.pm --dump
54 run: make test HARNESS_JOBS=${HARNESS_JOBS:-4}
66 runs-on: ${{ matrix.os }}
68 - uses: actions/checkout@v3
69 - name: checkout fuzz/corpora submodule
70 run: git submodule update --init --depth 1 fuzz/corpora
73 CC=${{ matrix.zoo.cc }} ./config --banner=Configured \
74 -Wall -Werror --strict-warnings enable-fips
76 run: ./configdata.pm --dump
80 run: make test HARNESS_JOBS=${HARNESS_JOBS:-4}
89 runs-on: ${{ matrix.os }}
91 - uses: actions/checkout@v3
92 - name: checkout fuzz/corpora submodule
93 run: git submodule update --init --depth 1 fuzz/corpora
94 - uses: ilammy/msvc-dev-cmd@v1
95 - uses: ilammy/setup-nasm@v1
96 - uses: shogo82148/actions-setup-perl@v1
97 - name: prepare the build directory
100 working-directory: _build
102 perl ..\Configure --banner=Configured no-makedepend enable-fips
104 working-directory: _build
105 run: ./configdata.pm --dump
107 working-directory: _build
110 working-directory: _build
111 run: nmake test VERBOSE_FAILURE=yes HARNESS_JOBS=4