mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
examples: move SDL examples from vlib to examples dir
This commit is contained in:
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@@ -212,10 +212,13 @@ jobs:
|
||||
#- uses: actions/setup-node@v1
|
||||
# with:
|
||||
# node-version: 12.x
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
git clone --depth=1 https://github.com/ubawurinna/freetype-windows-binaries.git thirdparty/freetype/
|
||||
.\.github\workflows\windows-install-sdl.bat
|
||||
- name: Build
|
||||
run: |
|
||||
gcc --version
|
||||
git clone --depth=1 https://github.com/ubawurinna/freetype-windows-binaries.git thirdparty/freetype/
|
||||
.\make.bat -gcc
|
||||
- name: Test
|
||||
run: |
|
||||
@@ -235,11 +238,14 @@ jobs:
|
||||
#- uses: actions/setup-node@v1
|
||||
# with:
|
||||
# node-version: 12.x
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
git clone --depth=1 https://github.com/ubawurinna/freetype-windows-binaries.git thirdparty/freetype/
|
||||
.\.github\workflows\windows-install-sdl.bat
|
||||
- name: Build
|
||||
run: |
|
||||
echo %VFLAGS%
|
||||
echo $VFLAGS
|
||||
git clone --depth=1 https://github.com/ubawurinna/freetype-windows-binaries.git thirdparty/freetype/
|
||||
.\make.bat -msvc
|
||||
- name: Test
|
||||
run: |
|
||||
|
||||
16
.github/workflows/windows-install-sdl.bat
vendored
Normal file
16
.github/workflows/windows-install-sdl.bat
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
@echo off
|
||||
|
||||
curl -L https://www.libsdl.org/release/SDL2-devel-2.0.10-VC.zip -o SDL2.zip
|
||||
curl -L https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-devel-2.0.15-VC.zip -o SDL2_ttf.zip
|
||||
curl -L https://www.libsdl.org/projects/SDL_image/release/SDL2_image-devel-2.0.5-VC.zip -o SDL2_image.zip
|
||||
curl -L https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-devel-2.0.4-VC.zip -o SDL2_mixer.zip
|
||||
|
||||
unzip SDL2.zip -d thirdparty/
|
||||
unzip SDL2_ttf.zip -d thirdparty/
|
||||
unzip SDL2_image.zip -d thirdparty/
|
||||
unzip SDL2_mixer.zip -d thirdparty/
|
||||
|
||||
mv thirdparty/SDL2-2.0.10 thirdparty/SDL2
|
||||
mv thirdparty/SDL2_ttf-2.0.15 thirdparty/SDL2_ttf
|
||||
mv thirdparty/SDL2_image-2.0.5 thirdparty/SDL2_image
|
||||
mv thirdparty/SDL2_mixer-2.0.4 thirdparty/SDL2_mixer
|
||||
Reference in New Issue
Block a user