GitHub: Fix linux build (make dist)?
This commit is contained in:
11
.github/workflows/linux.yml
vendored
11
.github/workflows/linux.yml
vendored
@@ -69,7 +69,12 @@ jobs:
|
|||||||
if: startsWith(matrix.os, 'ubuntu')
|
if: startsWith(matrix.os, 'ubuntu')
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update -qq
|
sudo apt-get update -qq
|
||||||
sudo apt-get install -y bison comerr-dev flex libcap-ng-dev libdb-dev libedit-dev libjson-perl libldap2-dev libncurses5-dev libperl4-corelibs-perl libsqlite3-dev libkeyutils-dev pkg-config python ss-dev texinfo unzip netbase keyutils ldap-utils gdb apport curl libmicrohttpd-dev jq valgrind
|
sudo apt-get install -y bison comerr-dev flex doxygen
|
||||||
|
sudo apt-get install -y libcap-ng-dev libdb-dev libedit-dev libjson-perl
|
||||||
|
sudo apt-get install -y libldap2-dev libncurses5-dev libperl4-corelibs-perl
|
||||||
|
sudo apt-get install -y libsqlite3-dev libkeyutils-dev pkg-config python
|
||||||
|
sudo apt-get install -y ss-dev texinfo unzip netbase keyutils ldap-utils
|
||||||
|
sudo apt-get install -y gdb apport curl libmicrohttpd-dev jq valgrind
|
||||||
# Temporary workaround for:
|
# Temporary workaround for:
|
||||||
# https://github.com/actions/virtual-environments/issues/3185
|
# https://github.com/actions/virtual-environments/issues/3185
|
||||||
sudo hostname localhost
|
sudo hostname localhost
|
||||||
@@ -110,15 +115,15 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
find build -depth -cpio -name \*.trs | xargs grep -lw FAIL | sed -e 's/trs$/log/' | tar -czf $HOME/logs.tgz --verbatim-files-from --files-from -
|
find build -depth -cpio -name \*.trs | xargs grep -lw FAIL | sed -e 's/trs$/log/' | tar -czf $HOME/logs.tgz --verbatim-files-from --files-from -
|
||||||
find build -name \*.trs | xargs grep -lw FAIL | sed -e 's/trs$/log/' | xargs cat
|
find build -name \*.trs | xargs grep -lw FAIL | sed -e 's/trs$/log/' | xargs cat
|
||||||
- name: distclean
|
- name: Make Dist
|
||||||
run: |
|
run: |
|
||||||
cd build
|
cd build
|
||||||
|
make dist
|
||||||
make distclean
|
make distclean
|
||||||
if [ "$(git ls-files -o|grep -v ^build/ | wc -l)" -ne 0 ]; then
|
if [ "$(git ls-files -o|grep -v ^build/ | wc -l)" -ne 0 ]; then
|
||||||
echo "Files not removed by make distclean:"
|
echo "Files not removed by make distclean:"
|
||||||
git ls-files -o|grep -v ^build/
|
git ls-files -o|grep -v ^build/
|
||||||
fi
|
fi
|
||||||
make dist
|
|
||||||
- name: Upload Install Tarball
|
- name: Upload Install Tarball
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
14
.github/workflows/osx.yml
vendored
14
.github/workflows/osx.yml
vendored
@@ -99,25 +99,11 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
find build -depth -cpio -name \*.trs|xargs grep -lw FAIL|sed -e 's/trs$/log/' | cpio -o > $HOME/logs.cpio
|
find build -depth -cpio -name \*.trs|xargs grep -lw FAIL|sed -e 's/trs$/log/' | cpio -o > $HOME/logs.cpio
|
||||||
find build -name \*.trs|xargs grep -lw FAIL|sed -e 's/trs$/log/'|xargs cat
|
find build -name \*.trs|xargs grep -lw FAIL|sed -e 's/trs$/log/'|xargs cat
|
||||||
- name: distclean
|
|
||||||
run: |
|
|
||||||
cd build
|
|
||||||
make distclean
|
|
||||||
if [ "$(git ls-files -o|grep -v ^build/ | wc -l)" -ne 0 ]; then
|
|
||||||
echo "Files not removed by make distclean:"
|
|
||||||
git ls-files -o|grep -v ^build/
|
|
||||||
fi
|
|
||||||
make dist
|
|
||||||
- name: Upload Install Tarball
|
- name: Upload Install Tarball
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: Install Tarball
|
name: Install Tarball
|
||||||
path: '~/heimdal-install.tgz'
|
path: '~/heimdal-install.tgz'
|
||||||
- name: Upload Dist Tarball
|
|
||||||
uses: actions/upload-artifact@v2
|
|
||||||
with:
|
|
||||||
name: Dist Tarball
|
|
||||||
path: '~/build/*.tar.gz'
|
|
||||||
- name: Upload Artifacts
|
- name: Upload Artifacts
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
Reference in New Issue
Block a user