88 pull_request :
99
1010jobs :
11- linux :
12- name : Linux (${{ matrix.backend }})
11+ linux_botan :
12+ name : Linux with Botan
1313 runs-on : ubuntu-24.04
14- strategy :
15- fail-fast : false
16- matrix :
17- include :
18- - backend : openssl
19- - backend : botan
2014 steps :
2115 - uses : actions/checkout@v4
2216 - name : Prepare
2317 run : |
24- sudo apt update -qq
25- sudo apt install libcppunit-dev libbotan-2-dev p11-kit
18+ sudo apt-get update -qq
19+ sudo apt-get install -y libcppunit-dev libbotan-2-dev p11-kit
20+ - name : Build
21+ env :
22+ CXXFLAGS : -Werror -DBOTAN_NO_DEPRECATED_WARNINGS
23+ run : |
24+ ./autogen.sh
25+ ./configure --with-crypto-backend=botan
26+ make
27+ - name : Test
28+ run : |
29+ make check || (find . -name test-suite.log -exec cat {} \; && false)
30+
31+ linux_ossl_1 :
32+ name : Linux with OpenSSL 1.1.1
33+ runs-on : ubuntu-24.04
34+ steps :
35+ - uses : actions/checkout@v4
36+ - name : Prepare
37+ run : |
38+ sudo apt-get update -qq
39+ sudo apt-get install -y libcppunit-dev p11-kit
2640 # Replace installed OpenSSL with the supported version 1.1.1
2741 curl -O http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.24_amd64.deb
2842 curl -O http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl-dev_1.1.1f-1ubuntu2.24_amd64.deb
@@ -32,10 +46,31 @@ jobs:
3246 libssl-dev_1.1.1f-1ubuntu2.24_amd64.deb
3347 - name : Build
3448 env :
35- CXXFLAGS : -Werror -DBOTAN_NO_DEPRECATED_WARNINGS
49+ CXXFLAGS : -Werror
50+ run : |
51+ ./autogen.sh
52+ ./configure --with-crypto-backend=openssl
53+ make
54+ - name : Test
55+ run : |
56+ make check || (find . -name test-suite.log -exec cat {} \; && false)
57+
58+ linux_ossl_30 :
59+ name : Linux with OpenSSL 3.0
60+ runs-on : ubuntu-24.04
61+ steps :
62+ - uses : actions/checkout@v4
63+ - name : Prepare
64+ run : |
65+ sudo apt-get update -qq
66+ sudo apt-get install -y libcppunit-dev libssl-dev p11-kit
67+ - name : Build
68+ # Once all OpenSSL deprecations fixed, uncomment this
69+ # env:
70+ # CXXFLAGS: -Werror
3671 run : |
3772 ./autogen.sh
38- ./configure --with-crypto-backend=${{ matrix.backend }}
73+ ./configure --with-crypto-backend=openssl
3974 make
4075 - name : Test
4176 run : |
0 commit comments