diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 4d863f1f..81d33676 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -53,9 +53,6 @@ jobs: mkdir include mkdir lib cd ../../../raylib - set PATH=%PATH%;${{ matrix.COMPILER_PATH }} - ${{ matrix.ARCH }}-w64-mingw32-gcc.exe -v - shell: cmd # Setup MSBuild.exe path if required - name: Setup MSBuild @@ -65,6 +62,9 @@ jobs: - 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" ${{ 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