Move SUDO to "make test" command line.
Environment variables don't get passed by vmrun, so move to command line.
This commit is contained in:
parent
02e624273b
commit
a1f78e08bd
|
@ -10,7 +10,6 @@ jobs:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
env:
|
env:
|
||||||
TARGET_HOST: ${{ matrix.os }}
|
TARGET_HOST: ${{ matrix.os }}
|
||||||
SUDO: sudo
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -31,7 +30,7 @@ jobs:
|
||||||
- name: make install
|
- name: make install
|
||||||
run: vmrun "cd /usr/src/usr.bin/ssh && sudo make install"
|
run: vmrun "cd /usr/src/usr.bin/ssh && sudo make install"
|
||||||
- name: make tests
|
- name: make tests
|
||||||
run: vmrun "cd /usr/src/regress/usr.bin/ssh && make obj && make clean && if test '${{ matrix.configs }}' = 'without-openssl'; then make OPENSSL=no; else make; fi"
|
run: vmrun "cd /usr/src/regress/usr.bin/ssh && make obj && make clean && if test '${{ matrix.configs }}' = 'without-openssl'; then make SUDO=sudo OPENSSL=no; else make SUDO=sudo; fi"
|
||||||
- name: save logs
|
- name: save logs
|
||||||
if: failure()
|
if: failure()
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
|
|
Loading…
Reference in New Issue