1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

windows: use setup-freetype tool to install freetype

This commit is contained in:
Alexey 2020-05-11 17:25:37 +03:00 committed by GitHub
parent e9177faf17
commit e638d12654
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 10 deletions

View File

@ -251,14 +251,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: |
gcc --version
.\make.bat -gcc
- name: Install dependencies
run: |
.\v.exe setup-freetype
.\.github\workflows\windows-install-sdl.bat
- name: Fixed tests
run: |
.\v.exe test-fixed
@ -282,15 +282,15 @@ 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
.\make.bat -msvc
- name: Install dependencies
run: |
.\v.exe setup-freetype
.\.github\workflows\windows-install-sdl.bat
- name: quick debug
run: ./v -stats vlib/strconv/format_test.v
- name: Fixed tests

View File

@ -148,8 +148,7 @@ Fedora:
sudo dnf install glfw glfw-devel freetype-devel
Windows:
git clone --depth=1 https://github.com/ubawurinna/freetype-windows-binaries [path to v repo]/thirdparty/freetype/
v setup-freetype
```
glfw dependency will be removed soon.