Assuming the currently worked-on package is libmemmap (its ZIP archive is the latest-updated symlink in */latest):
$ export DEPLOY_EXE=test-memmap.exe
If DEPLOY_EXE is undefined, the script assumes test-${DEPLOY_PKG}.exe to be the test binary name.
In the current package there are multiple test/sample/demo executables and we have to choose explicitly.
$ tools/ci.sh
Found target: armv7-w64-mingw32
Found package: libmemmap
[local] libmemmap /home/lxe/Code/libmemmap
[build] libmemmap armv7-w64-mingw32
[done] libmemmap armv7-w64-mingw32
552 KiB 0m12.034s
Deploying libmemmap_armv7-w64-mingw32.zip to me@dina-talaat:
libmemmap_armv7-w64-mingw32.zip 100% 91KB 441.5KB/s 00:00
Archive: libmemmap_armv7-w64-mingw32.zip
extracting: installed/libmemmap
inflating: lib/libmemmap.dll.a
inflating: bin/test-memmap.exe
inflating: bin/libmemmap.dll
inflating: bin/test-memdmp.exe
Running test-memmap.exe on me@dina-talaat (assuming correct PATH):
sys/mman.h API test panel.
mincore() test completed.
VirtualAlloc(00000000, 1000, 3000, 4)
mmap(anon) errno=0
Configuration
Usage
Assuming the currently worked-on package is
libmemmap
(its ZIP archive is the latest-updated symlink in*/latest
):If
DEPLOY_EXE
is undefined, the script assumestest-${DEPLOY_PKG}.exe
to be the test binary name. In the current package there are multiple test/sample/demo executables and we have to choose explicitly.Notes
touch
is needed to re-trigger a local build.