diff options
Diffstat (limited to '.github/workflows/docker-debian/entrypoint.sh')
-rwxr-xr-x | .github/workflows/docker-debian/entrypoint.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.github/workflows/docker-debian/entrypoint.sh b/.github/workflows/docker-debian/entrypoint.sh new file mode 100755 index 00000000..94eb7e53 --- /dev/null +++ b/.github/workflows/docker-debian/entrypoint.sh | |||
@@ -0,0 +1,15 @@ | |||
1 | #!/bin/sh -xv | ||
2 | |||
3 | apt-get update -qq -y | ||
4 | apt-get install -y -qq --no-install-recommends cmake libsdl2-dev libssl-dev libpcre3-dev zlib1g-dev libunistring-dev libmpg123-dev debhelper dh-make devscripts fakeroot git build-essential | ||
5 | git submodule sync | ||
6 | |||
7 | git archive --format=tar.gz --prefix=lagrange-${RELEASE_VERSION}/ HEAD >lagrange-${RELEASE_VERSION}.tar.gz | ||
8 | tar -xvzf lagrange-${RELEASE_VERSION}.tar.gz | ||
9 | ln -s lagrange-${RELEASE_VERSION}.tar.gz lagrange_${RELEASE_VERSION}.orig.tar.gz | ||
10 | cd lagrange-${RELEASE_VERSION} | ||
11 | debuild | ||
12 | cd .. | ||
13 | mkdir -p artifacts | ||
14 | mv *deb artifacts/ | ||
15 | |||