mirror of
https://github.com/megastep/makeself.git
synced 2025-09-26 19:41:12 +08:00

* move from bashunit to shunit2 move run-tests.sh to test simplify build.yml * back shunit2 to submodule
18 lines
504 B
Bash
Executable File
18 lines
504 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
THIS="$(realpath "$0")"
|
|
THISDIR="$(dirname "${THIS}")"
|
|
SRCDIR="$(dirname "${THISDIR}")"
|
|
VERSION="$(cat "${SRCDIR}/VERSION")"
|
|
|
|
# Test run on artifacts
|
|
|
|
echo ">> env:"
|
|
uname -a
|
|
|
|
cd "$THISDIR"
|
|
|
|
sh "../build-ubuntu/makeself-$VERSION.run" --target ./tmp/makeself-ubuntu
|
|
sh "../build-alpine/makeself-$VERSION.run" --target ./tmp/makeself-alpine
|
|
sh "../build-windows/makeself-$VERSION.run" --target ./tmp/makeself-windows
|
|
sh "../build-macos/makeself-$VERSION.run" --target ./tmp/makeself-macos |