3737
3838 - name : Configure
3939 run : |
40- cmake ${{ github.workspace }} -G Xcode -DCMAKE_TOOLCHAIN_FILE=cmake/toolchains/ios.cmake \
40+ cmake ${{ github.workspace }} -G "Ninja Multi-Config" -DCMAKE_TOOLCHAIN_FILE=cmake/toolchains/ios.cmake \
4141 -DPLATFORM=${{ env.IOS_PLATFORM }} -B ${{ runner.workspace }}/build -DYUP_ENABLE_TESTS=ON -DYUP_ENABLE_EXAMPLES=ON
4242
4343 - name : Build SDL2
6666 - name : Configure If Cache Missed
6767 if : steps.cache-restore.outputs.cache-hit != 'true'
6868 run : |
69- cmake ${{ github.workspace }} -G Xcode -DCMAKE_TOOLCHAIN_FILE=cmake/toolchains/ios.cmake \
69+ cmake ${{ github.workspace }} -G "Ninja Multi-Config" -DCMAKE_TOOLCHAIN_FILE=cmake/toolchains/ios.cmake \
7070 -DPLATFORM=${{ env.IOS_PLATFORM }} -B ${{ runner.workspace }}/build -DYUP_ENABLE_EXAMPLES=ON
7171 - run : cmake --build ${{ runner.workspace }}/build --config Debug --parallel 4 --target example_console
7272 - run : cmake --build ${{ runner.workspace }}/build --config Release --parallel 4 --target example_console
8585 - name : Configure If Cache Missed
8686 if : steps.cache-restore.outputs.cache-hit != 'true'
8787 run : |
88- cmake ${{ github.workspace }} -G Xcode -DCMAKE_TOOLCHAIN_FILE=cmake/toolchains/ios.cmake \
88+ cmake ${{ github.workspace }} -G "Ninja Multi-Config" -DCMAKE_TOOLCHAIN_FILE=cmake/toolchains/ios.cmake \
8989 -DPLATFORM=${{ env.IOS_PLATFORM }} -B ${{ runner.workspace }}/build -DYUP_ENABLE_EXAMPLES=ON
9090 - run : cmake --build ${{ runner.workspace }}/build --config Debug --parallel 4 --target example_app
9191 - run : cmake --build ${{ runner.workspace }}/build --config Release --parallel 4 --target example_app
@@ -104,7 +104,7 @@ jobs:
104104 - name : Configure If Cache Missed
105105 if : steps.cache-restore.outputs.cache-hit != 'true'
106106 run : |
107- cmake ${{ github.workspace }} -G Xcode -DCMAKE_TOOLCHAIN_FILE=cmake/toolchains/ios.cmake \
107+ cmake ${{ github.workspace }} -G "Ninja Multi-Config" -DCMAKE_TOOLCHAIN_FILE=cmake/toolchains/ios.cmake \
108108 -DPLATFORM=${{ env.IOS_PLATFORM }} -B ${{ runner.workspace }}/build -DYUP_ENABLE_EXAMPLES=ON
109109 - run : cmake --build ${{ runner.workspace }}/build --config Debug --parallel 4 --target example_graphics
110110 - run : cmake --build ${{ runner.workspace }}/build --config Release --parallel 4 --target example_graphics
0 commit comments