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:
|
env:
|
||||||
CC: ${{ matrix.compiler }}
|
CC: ${{ matrix.compiler }}
|
||||||
MAKEVARS: ${{ matrix.makevars }}
|
MAKEVARS: ${{ matrix.makevars }}
|
||||||
CONFIGURE_OPTS: ${{ matrix.configureopts }}
|
|
||||||
run: |
|
run: |
|
||||||
/bin/sh ./autogen.sh
|
/bin/sh ./autogen.sh
|
||||||
mkdir build
|
mkdir build
|
||||||
cd 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"
|
../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
|
make -j4
|
||||||
|
- name: Test
|
||||||
|
env:
|
||||||
|
CC: ${{ matrix.compiler }}
|
||||||
|
MAKEVARS: ${{ matrix.makevars }}
|
||||||
|
run: |
|
||||||
|
cd build
|
||||||
|
ulimit -c unlimited
|
||||||
make check
|
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
|
- name: Core dump stacks
|
||||||
run: |
|
run: |
|
||||||
echo "thread apply all bt" > /tmp/x
|
echo "thread apply all bt" > /tmp/x
|
||||||
@@ -95,7 +108,8 @@ jobs:
|
|||||||
- name: Test logs
|
- name: Test logs
|
||||||
if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
run: |
|
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
|
- name: distclean
|
||||||
run: |
|
run: |
|
||||||
cd build
|
cd build
|
||||||
@@ -104,3 +118,13 @@ jobs:
|
|||||||
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 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"
|
../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
|
ulimit -c unlimited
|
||||||
make -j4
|
make -j4
|
||||||
|
- name: Test
|
||||||
|
env:
|
||||||
|
CC: ${{ matrix.compiler }}
|
||||||
|
MAKEVARS: ${{ matrix.makevars }}
|
||||||
|
CONFIGURE_OPTS: ${{ matrix.configureopts }}
|
||||||
|
run: |
|
||||||
make check
|
make check
|
||||||
make install
|
- name: Install
|
||||||
|
run: |
|
||||||
|
make DESTDIR=/tmp/h5l install
|
||||||
|
cd /tmp/h5l
|
||||||
|
tar czf $HOME/heimdal-install.tgz .
|
||||||
- name: Test logs
|
- name: Test logs
|
||||||
if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
run: |
|
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
|
find build -name \*.trs|xargs grep -lw FAIL|sed -e 's/trs$/log/'|xargs cat
|
||||||
- name: distclean
|
- name: distclean
|
||||||
run: |
|
run: |
|
||||||
@@ -95,3 +106,13 @@ jobs:
|
|||||||
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 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)
|
(cd lib/sqlite && make -j4)
|
||||||
scan-build --keep-going make -j4
|
scan-build --keep-going make -j4
|
||||||
scan-build --keep-going make check
|
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
|
mkdir build
|
||||||
cd 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"
|
../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
|
make -j4
|
||||||
|
- name: Test
|
||||||
|
env:
|
||||||
|
CC: ${{ matrix.compiler }}
|
||||||
|
MAKEVARS: ${{ matrix.makevars }}
|
||||||
|
run: |
|
||||||
|
cd build
|
||||||
|
ulimit -c unlimited
|
||||||
make check-valgrind
|
make check-valgrind
|
||||||
- name: Valgrind output
|
- name: Valgrind output
|
||||||
run: |
|
run: |
|
||||||
find . -name \*.log -print0|xargs -0 grep '^==[0-9]*== ' || true
|
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
|
- name: Test logs
|
||||||
if: ${{ failure() }}
|
|
||||||
run: |
|
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
|
uses: ilammy/msvc-dev-cmd@v1
|
||||||
with:
|
with:
|
||||||
arch: amd64
|
arch: amd64
|
||||||
- name: Build
|
- name: Build and Test
|
||||||
shell: cmd
|
shell: cmd
|
||||||
run: |
|
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
|
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%
|
echo PATH=%PATH%
|
||||||
nmake /f NTMakefile APPVEYOR=1 MAKEINFO=makeinfo NO_INSTALLERS=1
|
nmake /f NTMakefile APPVEYOR=1 MAKEINFO=makeinfo NO_INSTALLERS=1
|
||||||
nmake /f NTMakefile APPVEYOR=1 MAKEINFO=makeinfo NO_INSTALLERS=1 test
|
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