.github: each workflow step resets back to the checked out dir

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg 2021-11-22 15:42:30 +01:00
parent 4a3a5d213e
commit 76942ea6e9

View File

@ -40,6 +40,7 @@ jobs:
make make
- name: Install Check - name: Install Check
run: | run: |
cd build/dir
pwd pwd
DESTDIR=/tmp make V=1 install-strip DESTDIR=/tmp make V=1 install-strip
tree /tmp tree /tmp
@ -48,6 +49,7 @@ jobs:
/tmp/sbin/syslogd -? /tmp/sbin/syslogd -?
- name: Build Example - name: Build Example
run: | run: |
cd build/dir
pwd pwd
mkdir -p /tmp/example mkdir -p /tmp/example
cp -a example/example.* /tmp/example/ cp -a example/example.* /tmp/example/
@ -56,4 +58,5 @@ jobs:
popd popd
- name: Run Tests - name: Run Tests
run: | run: |
cd build/dir
make check || (cat test/test-suite.log; false) make check || (cat test/test-suite.log; false)