mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2025-02-22 13:22:43 +01:00
Add build-and-test-deb and -rpm
It builds tarball, deb/rpm pckage, and runs the test image. It doesn't detect source changes, so it'll always build tarball and the package.
This commit is contained in:
parent
9fb709087d
commit
5e5467a3b0
16
build-and-test-deb
Executable file
16
build-and-test-deb
Executable file
@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
os="$1"
|
||||
codename="$2"
|
||||
|
||||
if [[ -z "$os" ]] || [[ -z "$codename" ]]; then
|
||||
echo "Usage: $0 <os> <codename>" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
./build-tarball "$os" "$codename" && ./build-deb "$os" "$codename" && \
|
||||
./test-deb "$os" "$codename"
|
16
build-and-test-rpm
Executable file
16
build-and-test-rpm
Executable file
@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
os="$1"
|
||||
codename="$2"
|
||||
|
||||
if [[ -z "$os" ]] || [[ -z "$codename" ]]; then
|
||||
echo "Usage: $0 <os> <codename>" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
./build-tarball "$os" "$codename" && ./build-rpm "$os" "$codename" && \
|
||||
./test-rpm "$os" "$codename"
|
Loading…
Reference in New Issue
Block a user