File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -12,9 +12,19 @@ pi_task:
1212 matrix :
1313 - RAYLIB_PLATFORM : " Desktop"
1414 - RAYLIB_PLATFORM : " SDL"
15+ - RAYLIB_PLATFORM : " DRM"
1516 setup_script :
1617 - apt update
1718 - apt -y install cmake libasound2-dev mesa-common-dev libx11-dev libxrandr-dev libxi-dev xorg-dev libgl1-mesa-dev libglu1-mesa-dev libwayland-dev libxkbcommon-dev
19+ build_sdl_script :
20+ - wget https://github.com/libsdl-org/SDL/archive/refs/tags/release-2.30.7.tar.gz
21+ - tar xvfz release-2.30.7.tar.gz
22+ - mkdir buildsdl
23+ - cd buildsdl
24+ - cmake ../SDL-release-2.30.7 -DSDL_SHARED=OFF -DSDL_STATIC=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_BUILD_TYPE=Release
25+ - cmake --build . --config Release
26+ - sudo cmake --install .
27+ - cd ..
1828 build_raylib_script :
1929 - git submodule update --init --recursive
2030 - cd raylib-c
@@ -85,8 +95,8 @@ mac_task:
8595 build_sdl_script :
8696 - wget https://github.com/libsdl-org/SDL/archive/refs/tags/release-2.30.7.tar.gz
8797 - tar xvfz release-2.30.7.tar.gz
88- - mkdir build
89- - cd build
98+ - mkdir buildsdl
99+ - cd buildsdl
90100 - cmake ../SDL-release-2.30.7 -DSDL_SHARED=OFF -DSDL_STATIC=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_BUILD_TYPE=Release
91101 - cmake --build . --config Release
92102 - sudo cmake --install .
You can’t perform that action at this time.
0 commit comments