diff --git a/.github/workflows/hydrun.yaml b/.github/workflows/hydrun.yaml index 7543a96..e2aafa3 100644 --- a/.github/workflows/hydrun.yaml +++ b/.github/workflows/hydrun.yaml @@ -19,7 +19,7 @@ jobs: src: . os: golang:bookworm flags: "" - cmd: go test ./... + cmd: GOFLAGS="-short" ./Hydrunfile test dst: out/* - id: go-stfs src: . diff --git a/Hydrunfile b/Hydrunfile index d30524c..f24fcee 100755 --- a/Hydrunfile +++ b/Hydrunfile @@ -42,7 +42,7 @@ fi if [ "$1" = "gccgo" ]; then # Install native dependencies apt update - apt install -y curl + apt install -y curl git # Install bagccgop curl -L -o /tmp/bagccgop "https://github.com/pojntfx/bagccgop/releases/latest/download/bagccgop.linux-$(uname -m)" @@ -51,11 +51,8 @@ if [ "$1" = "gccgo" ]; then # Configure Git git config --global --add safe.directory '*' - # Generate dependencies - make depend - # Build - GOFLAGS='-gccgoflags=-static' bagccgop -x '(linux/alpha|linux/mipsle|linux/arm$|linux/arm64|linux/386|linux/amd64|linux/s390x)' -j1 -b "$1" -n -r 'make depend' -s 'build-essential,automake' -m 'libsqlite3-dev' -p 'make build/stfs DST=$DST' -d out + GOFLAGS='-gccgoflags=-static' bagccgop -x '(linux/alpha|linux/mipsle|linux/arm$|linux/arm64|linux/386|linux/amd64|linux/s390x)' -j1 -b "$2" -n -r 'make depend' -s 'build-essential,automake' -m 'libsqlite3-dev' -p 'make build/stfs DST=$DST' -d out exit 0 fi