diff options
author | Matt Johnston <matt@ucc.asn.au> | 2022-11-28 21:32:10 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2022-11-28 21:32:10 +0800 |
commit | cf7f9350b839bfd36e4909eb5462e70aed191f39 (patch) | |
tree | 73ca1226f56bc3bbd06e7a4234e9e84c8af77c5a | |
parent | 5a07edfa2b130ecde7c1aeed2c055a57bb3025a5 (diff) | |
download | dropbear-cf7f9350b839bfd36e4909eb5462e70aed191f39.tar.gz |
CI: don't run dropbearkey for disabled types
-rw-r--r-- | .github/workflows/build.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f07e6ca..e7683f5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -82,6 +82,7 @@ jobs: - name: most options disabled configure_flags: --disable-harden --disable-zlib --disable-openpty --disable-lastlog + sanitykey: no localoptions: | #define DROPBEAR_RSA 0 #define INETD_MODE 0 @@ -234,16 +235,22 @@ jobs: # Sanity check that the binary runs - name: genrsa + if: ${{ matrix.sanitykey != 'no' }} run: ~/inst/bin/dropbearkey -t rsa -f testrsa - name: gendss + if: ${{ matrix.sanitykey != 'no' }} run: ~/inst/bin/dropbearkey -t dss -f testdss - name: genecdsa256 + if: ${{ matrix.sanitykey != 'no' }} run: ~/inst/bin/dropbearkey -t ecdsa -f testec256 -s 256 - name: genecdsa384 + if: ${{ matrix.sanitykey != 'no' }} run: ~/inst/bin/dropbearkey -t ecdsa -f testec384 -s 384 - name: genecdsa521 + if: ${{ matrix.sanitykey != 'no' }} run: ~/inst/bin/dropbearkey -t ecdsa -f testec521 -s 521 - name: gened25519 + if: ${{ matrix.sanitykey != 'no' }} run: ~/inst/bin/dropbearkey -t ed25519 -f tested25519 - name: fuzz |