diff --git a/build/install-deps-ubuntu.sh b/build/install-deps-ubuntu.sh new file mode 100755 index 000000000..5ae23ca83 --- /dev/null +++ b/build/install-deps-ubuntu.sh @@ -0,0 +1,10 @@ +#! /bin/sh +set -euxo pipefail + +DEBIAN_FRONTEND=noninteractive apt install --yes \ + libtool \ + build-essential \ + pkg-config \ + cli-common-dev \ + mono-devel \ + libgtk2.0-cil-dev diff --git a/build/snap-build.sh b/build/snap-build.sh index 416674641..dc9bf649c 100755 --- a/build/snap-build.sh +++ b/build/snap-build.sh @@ -1,9 +1,7 @@ #!/usr/bin/env bash set -euxo pipefail -# this is the equivalent of using the 'build-packages' (not stage-packages) section in snapcraft -# but as we're not using the 'make' plugin, we need to this manually now -DEBIAN_FRONTEND=noninteractive sudo apt install -y build-essential pkg-config cli-common-dev mono-devel libgtk2.0-cil-dev +sudo ./build/install-deps-ubuntu.sh # just in case this is a retry-run, we want to clean artifacts from previous try rm -rf ./staging