.github: build: install to fixed dir for pkg-config
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
parent
5163b76290
commit
5d7c1e18d6
24
.github/workflows/build.yml
vendored
24
.github/workflows/build.yml
vendored
@ -32,24 +32,24 @@ jobs:
|
|||||||
- name: Configure
|
- name: Configure
|
||||||
run: |
|
run: |
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
./configure --prefix=
|
./configure --prefix=/tmp
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
make V=1
|
make V=1
|
||||||
- name: Install
|
- name: Install
|
||||||
run: |
|
run: |
|
||||||
make V=1 DESTDIR=~/tmp install-strip
|
make V=1 install-strip
|
||||||
tree ~/tmp
|
tree /tmp
|
||||||
ldd ~/tmp/sbin/syslogd
|
ldd /tmp/sbin/syslogd
|
||||||
size ~/tmp/sbin/syslogd
|
size /tmp/sbin/syslogd
|
||||||
~/tmp/sbin/syslogd -?
|
/tmp/sbin/syslogd -?
|
||||||
- name: Example w/ libsyslog
|
- name: Example
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ~/tmp/example
|
mkdir -p /tmp/example
|
||||||
cp -a example/example.* ~/tmp/example/
|
cp -a example/example.* /tmp/example/
|
||||||
pushd ~/tmp/example/
|
pushd /tmp/example/
|
||||||
PKG_CONFIG_LIBDIR=~/tmp/lib/pkgconfig make -f example.mk
|
PKG_CONFIG_LIBDIR=/tmp/lib/pkgconfig make -f example.mk
|
||||||
popd
|
popd
|
||||||
- name: Unit tests
|
- name: Test
|
||||||
run: |
|
run: |
|
||||||
sudo make check || (cat test/start.log; cat test/remote.log; false)
|
sudo make check || (cat test/start.log; cat test/remote.log; false)
|
||||||
|
Loading…
Reference in New Issue
Block a user