Skip to content

Commit 4670e27

Browse files
try
1 parent adbcdce commit 4670e27

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.cirrus.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff 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 .

0 commit comments

Comments
 (0)