Skip to content

Commit e0ed95c

Browse files
committed
Windows cache: build GLEW 2.3.1 from source to match bundled DLL version
1 parent 4357ab0 commit e0ed95c

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/build-cache.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,16 @@ jobs:
5858
uses: msys2/setup-msys2@v2
5959
with:
6060
msystem: MINGW64
61-
install: mingw-w64-x86_64-gcc mingw-w64-x86_64-glfw mingw-w64-x86_64-glew
61+
install: mingw-w64-x86_64-gcc mingw-w64-x86_64-glfw mingw-w64-x86_64-cmake mingw-w64-x86_64-make
6262

63+
- name: Build GLEW 2.3.1 from source
64+
shell: msys2 {0}
65+
run: |
66+
curl -L https://github.com/nigels-com/glew/releases/download/glew-2.3.1/glew-2.3.1.tgz -o glew.tgz
67+
tar xf glew.tgz
68+
cd glew-2.3.1
69+
make SYSTEM=mingw GLEW_DEST=/mingw64 install
70+
cd ..
6371
- name: Build cache
6472
shell: msys2 {0}
6573
run: |

0 commit comments

Comments
 (0)