diff options
| author | Ray <[email protected]> | 2020-08-20 18:00:14 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-08-20 18:00:14 +0200 |
| commit | eedea1d2dec0ffdac83cb7531e87bccf1f1afa9d (patch) | |
| tree | 54f99f396402ae547b7fac76df8d3f9f30b2a312 /.github/workflows/windows.yml | |
| parent | 784b24e35ee2915cfa4c7ee4d30a59e9e019870f (diff) | |
| download | raylib-eedea1d2dec0ffdac83cb7531e87bccf1f1afa9d.tar.gz raylib-eedea1d2dec0ffdac83cb7531e87bccf1f1afa9d.zip | |
Update windows.yml
Diffstat (limited to '.github/workflows/windows.yml')
| -rw-r--r-- | .github/workflows/windows.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index d2cc709d..dbcb12e1 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -20,6 +20,7 @@ jobs: bits: 32 ARCH: "i686" COMPILER_PATH: "C:\\msys64\\mingw32\\bin" + WINDRES_ARCH: pe-i386 - compiler: mingw-w64 bits: 64 ARCH: "x86_64" @@ -35,6 +36,7 @@ jobs: env: RELEASE_NAME: raylib-3.1_win${{ matrix.bits }}_${{ matrix.compiler }} + GNUTARGET: default steps: - name: Checkout @@ -56,14 +58,14 @@ jobs: uses: microsoft/[email protected] if: matrix.compiler == 'msvc16' - # TODO: Compile resource file raylib.dll.rc for linkage on raylib.dll generation - name: Build Library (MinGW-w64) run: | cd src set PATH=%PATH%;${{ matrix.COMPILER_PATH }} ${{ matrix.ARCH }}-w64-mingw32-gcc.exe -v + ${{ matrix.COMPILER_PATH }}/windres.exe -h make PLATFORM=PLATFORM_DESKTOP CC=${{ matrix.ARCH }}-w64-mingw32-gcc.exe RAYLIB_LIBTYPE=STATIC RAYLIB_RELEASE_PATH="../build/${{ env.RELEASE_NAME }}/lib" - windres raylib.dll.rc -o raylib.dll.rc.data --target=pe-${{ matrix.ARCH }} + ${{ matrix.COMPILER_PATH }}/windres.exe -i raylib.dll.rc -o raylib.dll.rc.data -O coff --target=pe-${{ matrix.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 |
