GitHub: Output artifacts
This commit is contained in:
32
.github/workflows/linux.yml
vendored
32
.github/workflows/linux.yml
vendored
@@ -77,16 +77,29 @@ jobs:
|
||||
env:
|
||||
CC: ${{ matrix.compiler }}
|
||||
MAKEVARS: ${{ matrix.makevars }}
|
||||
CONFIGURE_OPTS: ${{ matrix.configureopts }}
|
||||
run: |
|
||||
/bin/sh ./autogen.sh
|
||||
mkdir build
|
||||
cd build
|
||||
../configure --srcdir=`dirname "$PWD"` --enable-maintainer-mode --enable-developer --with-ldap $CONFIGURE_OPTS --prefix=$HOME/inst CFLAGS="-Wno-error=shadow -Wno-error=bad-function-cast -Wno-error=unused-function -Wno-error=unused-result -Wno-error=deprecated-declarations"
|
||||
ulimit -c unlimited
|
||||
make -j4
|
||||
- name: Test
|
||||
env:
|
||||
CC: ${{ matrix.compiler }}
|
||||
MAKEVARS: ${{ matrix.makevars }}
|
||||
run: |
|
||||
cd build
|
||||
ulimit -c unlimited
|
||||
make check
|
||||
make install
|
||||
- name: Make Install
|
||||
env:
|
||||
CC: ${{ matrix.compiler }}
|
||||
MAKEVARS: ${{ matrix.makevars }}
|
||||
run: |
|
||||
cd build || true
|
||||
make DESTDIR=/tmp/h5l install
|
||||
cd /tmp/h5l
|
||||
tar czf $HOME/heimdal-install.tgz .
|
||||
- name: Core dump stacks
|
||||
run: |
|
||||
echo "thread apply all bt" > /tmp/x
|
||||
@@ -95,7 +108,8 @@ jobs:
|
||||
- name: Test logs
|
||||
if: ${{ failure() }}
|
||||
run: |
|
||||
find build -name \*.trs|xargs grep -lw FAIL|sed -e 's/trs$/log/'|xargs cat
|
||||
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
|
||||
- name: distclean
|
||||
run: |
|
||||
cd build
|
||||
@@ -104,3 +118,13 @@ jobs:
|
||||
echo "Files not removed by make distclean:"
|
||||
git ls-files -o|grep -v ^build/
|
||||
fi
|
||||
make dist
|
||||
- name: Upload Artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Install Tarball
|
||||
path: $HOME/heimdal-install.tgz
|
||||
name: Dist Tarball
|
||||
path: build/*.tar.gz
|
||||
name: Test Logs
|
||||
path: $HOME/logs.tgz
|
||||
|
23
.github/workflows/osx.yml
vendored
23
.github/workflows/osx.yml
vendored
@@ -81,11 +81,22 @@ jobs:
|
||||
../configure --srcdir=`dirname "$PWD"` --disable-afs-support --enable-maintainer-mode --enable-developer $CONFIGURE_OPTS --prefix=$HOME/inst CFLAGS="-Wno-error=shadow -Wno-error=bad-function-cast -Wno-error=unused-function -Wno-error=unused-result -Wno-error=deprecated-declarations"
|
||||
ulimit -c unlimited
|
||||
make -j4
|
||||
- name: Test
|
||||
env:
|
||||
CC: ${{ matrix.compiler }}
|
||||
MAKEVARS: ${{ matrix.makevars }}
|
||||
CONFIGURE_OPTS: ${{ matrix.configureopts }}
|
||||
run: |
|
||||
make check
|
||||
make install
|
||||
- name: Install
|
||||
run: |
|
||||
make DESTDIR=/tmp/h5l install
|
||||
cd /tmp/h5l
|
||||
tar czf $HOME/heimdal-install.tgz .
|
||||
- name: Test logs
|
||||
if: ${{ failure() }}
|
||||
run: |
|
||||
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
|
||||
- name: distclean
|
||||
run: |
|
||||
@@ -95,3 +106,13 @@ jobs:
|
||||
echo "Files not removed by make distclean:"
|
||||
git ls-files -o|grep -v ^build/
|
||||
fi
|
||||
make dist
|
||||
- name: Upload Artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Install Tarball
|
||||
path: $HOME/heimdal-install.tgz
|
||||
name: Dist Tarball
|
||||
path: build/*.tar.gz
|
||||
name: Test Logs
|
||||
path: $HOME/logs.cpio
|
||||
|
5
.github/workflows/scanbuild.yml
vendored
5
.github/workflows/scanbuild.yml
vendored
@@ -49,3 +49,8 @@ jobs:
|
||||
(cd lib/sqlite && make -j4)
|
||||
scan-build --keep-going make -j4
|
||||
scan-build --keep-going make check
|
||||
- name: Upload Artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Scan-Build Reports
|
||||
path: '/tmp/scan-build*/'
|
||||
|
22
.github/workflows/valgrind.yml
vendored
22
.github/workflows/valgrind.yml
vendored
@@ -46,18 +46,24 @@ jobs:
|
||||
mkdir build
|
||||
cd build
|
||||
../configure --srcdir=`dirname "$PWD"` --enable-maintainer-mode --enable-developer --with-ldap $CONFIGURE_OPTS --prefix=$HOME/inst CFLAGS="-Wno-error=shadow -Wno-error=bad-function-cast -Wno-error=unused-function -Wno-error=unused-result -Wno-error=deprecated-declarations"
|
||||
ulimit -c unlimited
|
||||
make -j4
|
||||
- name: Test
|
||||
env:
|
||||
CC: ${{ matrix.compiler }}
|
||||
MAKEVARS: ${{ matrix.makevars }}
|
||||
run: |
|
||||
cd build
|
||||
ulimit -c unlimited
|
||||
make check-valgrind
|
||||
- name: Valgrind output
|
||||
run: |
|
||||
find . -name \*.log -print0|xargs -0 grep '^==[0-9]*== ' || true
|
||||
- name: Core dump stacks
|
||||
run: |
|
||||
echo "thread apply all bt" > /tmp/x
|
||||
find . -name core -print | while read core; do gdb -batch -x x `file "$core"|sed -e "s/^[^']*'//" -e "s/[ '].*$//"` "$core"; done
|
||||
if [ "$(find . -name core -print | wc -l)" -gt 0 ]; then false; fi
|
||||
- name: Test logs
|
||||
if: ${{ failure() }}
|
||||
run: |
|
||||
find build -name \*.trs|xargs grep -lw FAIL|sed -e 's/trs$/log/'|xargs cat
|
||||
find build -depth -cpio -name \*.log | 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
|
||||
- name: Upload Artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Test Logs
|
||||
path: $HOME/logs.tgz
|
||||
|
7
.github/workflows/windows.yml
vendored
7
.github/workflows/windows.yml
vendored
@@ -62,7 +62,7 @@ jobs:
|
||||
uses: ilammy/msvc-dev-cmd@v1
|
||||
with:
|
||||
arch: amd64
|
||||
- name: Build
|
||||
- name: Build and Test
|
||||
shell: cmd
|
||||
run: |
|
||||
set PATH=%PATH%;C:\msys64\usr\bin;C:\Program Files (x86)\HTML Help Workshop;C:\program files (x86)\windows installer xml v3.5\bin;C:\cygwin\bin
|
||||
@@ -85,3 +85,8 @@ jobs:
|
||||
echo PATH=%PATH%
|
||||
nmake /f NTMakefile APPVEYOR=1 MAKEINFO=makeinfo NO_INSTALLERS=1
|
||||
nmake /f NTMakefile APPVEYOR=1 MAKEINFO=makeinfo NO_INSTALLERS=1 test
|
||||
- name: Upload Artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Objects
|
||||
path: 'D:/a/heimdal/heimdal/out/'
|
||||
|
Reference in New Issue
Block a user