Skip to content

Commit

Permalink
test 1
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAndreiM committed Jan 2, 2025
1 parent e7294f8 commit ca1e97d
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
27 changes: 26 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,35 @@ jobs:
- name: Check out the repo
uses: actions/checkout@v4

- name: Install mingw-w64
run: |
choco install mingw --version=8.1.0
echo "::add-path::C:/tools/mingw64/bin"
refreshenv
- name: Download and Install SDL2
run: |
wget https://github.com/libsdl-org/SDL/releases/download/release-2.0.16/SDL2-devel-2.0.16-mingw.zip
7z x SDL2-devel-2.0.16-mingw.zip -oSDL2
xcopy SDL2\SDL2-2.0.16\x86_64-w64-mingw32 C:\tools\mingw64 /E /I /Y
set PATH=C:\tools\mingw64\bin;%PATH%
- name: Download and Install SDL_image, SDL_mixer, SDL_ttf
run: |
wget https://github.com/libsdl-org/SDL_image/releases/download/release-2.0.5/SDL2_image-devel-2.0.5-mingw.zip
wget https://github.com/libsdl-org/SDL_mixer/releases/download/release-2.0.4/SDL2_mixer-devel-2.0.4-mingw.zip
wget https://github.com/libsdl-org/SDL_ttf/releases/download/release-2.0.15/SDL2_ttf-devel-2.0.15-mingw.zip
7z x SDL2_image-devel-2.0.5-mingw.zip -oSDL2_image
7z x SDL2_mixer-devel-2.0.4-mingw.zip -oSDL2_mixer
7z x SDL2_ttf-devel-2.0.15-mingw.zip -oSDL2_ttf
xcopy SDL2_image\x86_64-w64-mingw32 C:\tools\mingw64 /E /I /Y
xcopy SDL2_mixer\x86_64-w64-mingw32 C:\tools\mingw64 /E /I /Y
xcopy SDL2_ttf\x86_64-w64-mingw32 C:\tools\mingw64 /E /I /Y
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.16'
go-version: '1.23'

- name: Install Dependencies
run: |
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.16
go 1.23

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

0 comments on commit ca1e97d

Please sign in to comment.