From b6673b1d2ee90b4690ee84f634efe40225423c38 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Sat, 24 Jul 2021 13:02:51 +1000 Subject: [PATCH] Test OpenBSD upstream with and without OpenSSL. --- .github/workflows/upstream.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/upstream.yml b/.github/workflows/upstream.yml index 71b114631..3d0bdd32e 100644 --- a/.github/workflows/upstream.yml +++ b/.github/workflows/upstream.yml @@ -14,7 +14,7 @@ jobs: fail-fast: false matrix: os: [ obsdsnap, obsdsnap-i386 ] - configs: [ default ] + configs: [ default, without-openssl ] steps: - uses: actions/checkout@v2 - name: shutdown VM if running @@ -23,8 +23,10 @@ jobs: run: vmstartup - name: update source run: vmrun "cd /usr/src && cvs up -dPA usr.bin/ssh regress/usr.bin/ssh" + - name: make clean + run: vmrun "cd /usr/src/usr.bin/ssh && make obj && make clean" - name: make - run: vmrun "cd /usr/src/usr.bin/ssh && make obj && make clean && make" + run: vmrun "cd /usr/src/usr.bin/ssh && if test '${{ matrix.configs }}' = 'without-openssl'; then make OPENSSL=no; else make; fi" - name: make install run: vmrun "cd /usr/src/usr.bin/ssh && sudo make install" - name: make tests @@ -33,7 +35,7 @@ jobs: if: failure() uses: actions/upload-artifact@v2 with: - name: ${{ matrix.os }}-logs + name: ${{ matrix.os }}-${{ matrix.configs }}-logs path: | /usr/obj/regress/usr.bin/ssh/*.log - name: shutdown VM