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 4d3212d commit 986b00c
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 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,14 @@ 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
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 986b00c

Please sign in to comment.