build: Installl git in gccgo hydrun target
This commit is contained in:
2
.github/workflows/hydrun.yaml
vendored
2
.github/workflows/hydrun.yaml
vendored
@@ -19,7 +19,7 @@ jobs:
|
||||
src: .
|
||||
os: golang:bookworm
|
||||
flags: ""
|
||||
cmd: go test ./...
|
||||
cmd: GOFLAGS="-short" ./Hydrunfile test
|
||||
dst: out/*
|
||||
- id: go-stfs
|
||||
src: .
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user