summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPauli <pauli@openssl.org>2021-08-30 16:06:49 +1000
committerPauli <pauli@openssl.org>2021-08-31 20:41:58 +1000
commitc7468c17d7090492c266492ffa4ccf5baf93ffc4 (patch)
treebf96c5039b75e4d04df99c65b401b3a91d5073ff
parent2bdab81198ae366d25547b1441609c7d324b0bb4 (diff)
CI: add builds covering a number of different compiler versions
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/16463)
-rw-r--r--.github/workflows/compiler-zoo.yml53
1 files changed, 53 insertions, 0 deletions
diff --git a/.github/workflows/compiler-zoo.yml b/.github/workflows/compiler-zoo.yml
new file mode 100644
index 0000000000..29a9097343
--- /dev/null
+++ b/.github/workflows/compiler-zoo.yml
@@ -0,0 +1,53 @@
+name: Compiler Zoo CI
+
+on: [push]
+
+jobs:
+ compiler:
+ strategy:
+ fail-fast: false
+ matrix:
+ zoo: [
+ {
+ cc: gcc-7
+ }, {
+ cc: gcc-8
+ }, {
+ cc: gcc-9
+ }, {
+ cc: gcc-10
+ }, {
+ cc: clang-6.0
+ }, {
+ cc: clang-7
+ }, {
+ cc: clang-8
+ }, {
+ cc: clang-9
+ }, {
+ cc: clang-10
+ }, {
+ cc: clang-11
+ }, {
+ cc: clang-12
+ }
+ ]
+ runs-on: ubuntu-latest
+ steps:
+ - name: install packages
+ run: |
+ sudo apt-get update
+ sudo apt-get -yq --force-yes install ${{ matrix.zoo.cc }}
+ - uses: actions/checkout@v2
+
+ - name: config
+ run: |
+ CC=${{ matrix.zoo.cc }} ./config --banner=Configured no-shared \
+ -Wall -Werror enable-fips --strict-warnings
+
+ - name: config dump
+ run: ./configdata.pm --dump
+ - name: make
+ run: make -s -j4
+ - name: make test
+ run: make test HARNESS_JOBS=${HARNESS_JOBS:-4}