Skip to content

Commit

Permalink
Use shtk from HEAD during GitHub testing
Browse files Browse the repository at this point in the history
We need the future shtk 1.8 but it hasn't been released yet, so pull
shtk from Git for now.  I'll revert back to 1.8 once a new sysbuild
release is ready to be cut.
  • Loading branch information
jmmv committed Jan 8, 2025
1 parent 810b2b0 commit 1853715
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/install-shtk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

set -eux

readonly VERSION=1.7
readonly VERSION=HEAD

main() {
local prefix="${1}"; shift
Expand All @@ -39,9 +39,15 @@ main() {

cd "${tmpdir}"

curl -LO "https://github.com/jmmv/shtk/releases/download/shtk-${VERSION}/shtk-${VERSION}.tar.gz"
tar xzvf "shtk-${VERSION}.tar.gz"
cd "shtk-${VERSION}"
if [ "${VERSION}" = HEAD ]; then
git clone https://github.com/jmmv/shtk.git
cd shtk
autoreconf -is
else
curl -LO "https://github.com/jmmv/shtk/releases/download/shtk-${VERSION}/shtk-${VERSION}.tar.gz"
tar xzvf "shtk-${VERSION}.tar.gz"
cd "shtk-${VERSION}"
fi
./configure --prefix="${prefix}"
make
sudo make install
Expand Down

0 comments on commit 1853715

Please sign in to comment.