File tree Expand file tree Collapse file tree 1 file changed +17
-4
lines changed
Expand file tree Collapse file tree 1 file changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -622,12 +622,25 @@ jobs:
622622 cd raylib-c
623623 mkdir build
624624 cd build
625- cmake -DPLATFORM=${{ matrix.raylib-platform }} -DBUILD_EXAMPLES=OFF -DCUSTOMIZE_BUILD=ON -DSUPPORT_FILEFORMAT_JPG=ON -DSUPPORT_FILEFORMAT_FLAC=ON -DWITH_PIC=ON -DCMAKE_BUILD_TYPE=Release ..
626- msbuild raylib.sln /target:raylib /property:Configuration=Release
627- cp raylib/Release/raylib.lib ../..
628- cd ../..
625+ PLATFORM="${{ matrix.raylib-platform }}"
626+ if [ ${{ matrix.raylib-platform }} = "SDL_SOFT" ]; then
627+ OPENGL="Software"
628+ PLATFORM="SDL"
629+ else
630+ OPENGL="3.3"
631+ fi
632+ echo "OPENGL $OPENGL PLATFORM $PLATFORM"
633+ cmake -DPLATFORM="$PLATFORM" -DOPENGL_VERSION="$OPENGL" -DBUILD_EXAMPLES=OFF -DCUSTOMIZE_BUILD=ON -DSUPPORT_FILEFORMAT_JPG=ON -DSUPPORT_FILEFORMAT_FLAC=ON -DWITH_PIC=ON -DCMAKE_BUILD_TYPE=Release ..
629634 shell : bash
630635
636+ - name : Build raylib2
637+ run : |
638+ cd raylib-c/build
639+ msbuild raylib.sln /target:raylib /property:Configuration=Release
640+ cp raylib\Release\raylib.lib ..\..
641+ cd ..\..
642+ shell : cmd
643+
631644 - name : Build raylib-python-cffi
632645 env :
633646 RAYLIB_PLATFORM : ${{ matrix.raylib-platform }}
You can’t perform that action at this time.
0 commit comments