diff --git a/README.md b/README.md index a95f361..656c87d 100644 --- a/README.md +++ b/README.md @@ -1 +1,3 @@ -# ci-scripts \ No newline at end of file +# ci-scripts + +Some bashscripts for installing devtools on Ubuntu \ No newline at end of file diff --git a/install-cmake.sh b/install-cmake.sh new file mode 100644 index 0000000..8114f4f --- /dev/null +++ b/install-cmake.sh @@ -0,0 +1,6 @@ +#!/bin/bash +set -eu + +cd /tmp/ +lastversion Kitware/CMake --assets --filter sh -d +sh $(find . -name "cmake-*-Linux-x86_64.sh") --exclude-subdir --prefix=/usr/local \ No newline at end of file diff --git a/install-conan.sh b/install-conan.sh new file mode 100644 index 0000000..8e03772 --- /dev/null +++ b/install-conan.sh @@ -0,0 +1,6 @@ +#!/bin/bash +set -eu + +cd /tmp/ +lastversion conan-io/conan --assets --filter deb -d +dpkg -i $(find . -name "conan-ubuntu-64*.deb") \ No newline at end of file diff --git a/install-lastversion.sh b/install-lastversion.sh new file mode 100644 index 0000000..09de8d8 --- /dev/null +++ b/install-lastversion.sh @@ -0,0 +1,5 @@ +#!/bin/bash +set -eu + +wget "https://github.com/AnotherFoxGuy/ci-scripts/raw/main/lastversion" -O "/tmp/lastversion" +install -m 755 "/tmp/lastversion" "/usr/local/bin/" diff --git a/install-sccache.sh b/install-sccache.sh new file mode 100644 index 0000000..ed492b8 --- /dev/null +++ b/install-sccache.sh @@ -0,0 +1,8 @@ +#!/bin/bash +set -eu + +cd /tmp/ +mkdir -p /tmp/sccache +lastversion mozilla/sccache --assets --filter linux -d +tar xvzf $(find . -name "sccache-*.tar.gz") --strip 1 -C /tmp/sccache +install -m 755 /tmp/sccache/sccache /usr/local/bin/ \ No newline at end of file diff --git a/lastversion b/lastversion new file mode 100644 index 0000000..7576207 Binary files /dev/null and b/lastversion differ