Skip to content

Commit

Permalink
Teest
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAndreiM committed Jan 2, 2025
1 parent c963fc3 commit cc6d40c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,14 @@ jobs:
mkdir -p ../JukaGUI-Trimui
cd player
echo "Building package..."
# [Your existing script here]
CGO_ENABLED=1 \
CC="aarch64-linux-gnu-gcc --sysroot=${SYSROOT}" \
CXX="aarch64-linux-gnu-g++ --sysroot=${SYSROOT}" \
GOARCH=arm64 \
GOOS=linux \
CGO_CFLAGS="-I${SYSROOT}/usr/include -I/usr/aarch64-linux-gnu/include -I/usr/aarch64-linux-gnu/include/SDL2 -I/usr/include/SDL2 -D_REENTRANT" \
CGO_LDFLAGS="-L${SYSROOT}/usr/lib -L/usr/lib/aarch64-linux-gnu -lSDL2_image -lSDL2_ttf -lSDL2 -lpng -ltiff -lwebp -lfreetype -ljpeg -lz -lbz2 -ldl -lpthread -lm" \
go build -tags static -ldflags "-s -w -extldflags '-static'" -o ../JukaGUI-Trimui/JukaGUI ./
echo "Build completed."
- name: Package Artifacts
Expand Down
2 changes: 1 addition & 1 deletion player/go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module jukagui/JukaGUI

go 1.22.6
go 1.23

require github.com/veandco/go-sdl2 v0.4.40

0 comments on commit cc6d40c

Please sign in to comment.