windows: use `setup-freetype` tool to install `freetype`
parent
e9177faf17
commit
e638d12654
|
@ -251,14 +251,14 @@ jobs:
|
||||||
#- uses: actions/setup-node@v1
|
#- uses: actions/setup-node@v1
|
||||||
# with:
|
# with:
|
||||||
# node-version: 12.x
|
# 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
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
gcc --version
|
gcc --version
|
||||||
.\make.bat -gcc
|
.\make.bat -gcc
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
.\v.exe setup-freetype
|
||||||
|
.\.github\workflows\windows-install-sdl.bat
|
||||||
- name: Fixed tests
|
- name: Fixed tests
|
||||||
run: |
|
run: |
|
||||||
.\v.exe test-fixed
|
.\v.exe test-fixed
|
||||||
|
@ -282,15 +282,15 @@ jobs:
|
||||||
#- uses: actions/setup-node@v1
|
#- uses: actions/setup-node@v1
|
||||||
# with:
|
# with:
|
||||||
# node-version: 12.x
|
# 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
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
echo %VFLAGS%
|
echo %VFLAGS%
|
||||||
echo $VFLAGS
|
echo $VFLAGS
|
||||||
.\make.bat -msvc
|
.\make.bat -msvc
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
.\v.exe setup-freetype
|
||||||
|
.\.github\workflows\windows-install-sdl.bat
|
||||||
- name: quick debug
|
- name: quick debug
|
||||||
run: ./v -stats vlib/strconv/format_test.v
|
run: ./v -stats vlib/strconv/format_test.v
|
||||||
- name: Fixed tests
|
- name: Fixed tests
|
||||||
|
|
|
@ -148,8 +148,7 @@ Fedora:
|
||||||
sudo dnf install glfw glfw-devel freetype-devel
|
sudo dnf install glfw glfw-devel freetype-devel
|
||||||
|
|
||||||
Windows:
|
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.
|
glfw dependency will be removed soon.
|
||||||
|
|
Loading…
Reference in New Issue