Another attempt to make CI work

This commit is contained in:
Matt Johnston 2022-11-28 21:40:09 +08:00
parent cf7f9350b8
commit bd94cb712c

View File

@ -82,7 +82,7 @@ jobs:
- name: most options disabled - name: most options disabled
configure_flags: --disable-harden --disable-zlib --disable-openpty --disable-lastlog configure_flags: --disable-harden --disable-zlib --disable-openpty --disable-lastlog
sanitykey: no runcheck: 'no'
localoptions: | localoptions: |
#define DROPBEAR_RSA 0 #define DROPBEAR_RSA 0
#define INETD_MODE 0 #define INETD_MODE 0
@ -208,6 +208,7 @@ jobs:
run: make install run: make install
- name: keys - name: keys
if: ${{ matrix.runcheck != 'no' }}
run: | run: |
mkdir -p ~/.ssh mkdir -p ~/.ssh
# remove old files so we can rerun in-place with "act -r" during test development # remove old files so we can rerun in-place with "act -r" during test development
@ -235,22 +236,22 @@ jobs:
# Sanity check that the binary runs # Sanity check that the binary runs
- name: genrsa - name: genrsa
if: ${{ matrix.sanitykey != 'no' }} if: ${{ matrix.runcheck != 'no' }}
run: ~/inst/bin/dropbearkey -t rsa -f testrsa run: ~/inst/bin/dropbearkey -t rsa -f testrsa
- name: gendss - name: gendss
if: ${{ matrix.sanitykey != 'no' }} if: ${{ matrix.runcheck != 'no' }}
run: ~/inst/bin/dropbearkey -t dss -f testdss run: ~/inst/bin/dropbearkey -t dss -f testdss
- name: genecdsa256 - name: genecdsa256
if: ${{ matrix.sanitykey != 'no' }} if: ${{ matrix.runcheck != 'no' }}
run: ~/inst/bin/dropbearkey -t ecdsa -f testec256 -s 256 run: ~/inst/bin/dropbearkey -t ecdsa -f testec256 -s 256
- name: genecdsa384 - name: genecdsa384
if: ${{ matrix.sanitykey != 'no' }} if: ${{ matrix.runcheck != 'no' }}
run: ~/inst/bin/dropbearkey -t ecdsa -f testec384 -s 384 run: ~/inst/bin/dropbearkey -t ecdsa -f testec384 -s 384
- name: genecdsa521 - name: genecdsa521
if: ${{ matrix.sanitykey != 'no' }} if: ${{ matrix.runcheck != 'no' }}
run: ~/inst/bin/dropbearkey -t ecdsa -f testec521 -s 521 run: ~/inst/bin/dropbearkey -t ecdsa -f testec521 -s 521
- name: gened25519 - name: gened25519
if: ${{ matrix.sanitykey != 'no' }} if: ${{ matrix.runcheck != 'no' }}
run: ~/inst/bin/dropbearkey -t ed25519 -f tested25519 run: ~/inst/bin/dropbearkey -t ed25519 -f tested25519
- name: fuzz - name: fuzz