summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorRay <[email protected]>2020-08-20 18:17:14 +0200
committerGitHub <[email protected]>2020-08-20 18:17:14 +0200
commited22e2f4a43327a0ab6f16c30f3829774605ad3d (patch)
tree31a9a3d9e210852c432f7a65d2a0fcd70fcc5eed /.github
parent85aee7905036e002ee621516c88dffd07cd63f96 (diff)
downloadraylib-ed22e2f4a43327a0ab6f16c30f3829774605ad3d.tar.gz
raylib-ed22e2f4a43327a0ab6f16c30f3829774605ad3d.zip
Update windows.yml
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/windows.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index 418aa840..29bcc3d7 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -25,6 +25,7 @@ jobs:
bits: 64
ARCH: "x86_64"
COMPILER_PATH: "C:\\msys64\\mingw64\\bin"
+ WINDRES_ARCH: pe-x86-64
- compiler: msvc16
bits: 32
ARCH: "x86"
@@ -54,7 +55,7 @@ jobs:
cd ../../../raylib
set PATH=%PATH%;${{ matrix.COMPILER_PATH }}
${{ matrix.ARCH }}-w64-mingw32-gcc.exe -v
- ${{ matrix.COMPILER_PATH }}/windres.exe -h
+ ${{ matrix.COMPILER_PATH }}/windres.exe -v
# Setup MSBuild.exe path if required
- name: Setup MSBuild
@@ -65,7 +66,7 @@ jobs:
run: |
cd src
make PLATFORM=PLATFORM_DESKTOP CC=${{ matrix.ARCH }}-w64-mingw32-gcc.exe RAYLIB_LIBTYPE=STATIC RAYLIB_RELEASE_PATH="../build/${{ env.RELEASE_NAME }}/lib"
- ${{ matrix.COMPILER_PATH }}/windres.exe -i raylib.dll.rc -o raylib.dll.rc.data -O coff --target=pe-${{ matrix.ARCH }}
+ ${{ matrix.COMPILER_PATH }}/windres.exe -i raylib.dll.rc -o raylib.dll.rc.data -O coff --target=${{ matrix.WINDRES_ARCH }}
make PLATFORM=PLATFORM_DESKTOP CC=${{ matrix.ARCH }}-w64-mingw32-gcc.exe RAYLIB_LIBTYPE=SHARED RAYLIB_RELEASE_PATH="../build/${{ env.RELEASE_NAME }}/lib" -B
cd ..
shell: cmd