Skip to content

Commit

Permalink
CI: Fix Rocky SDL3 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
flibitijibibo committed Jan 8, 2025
1 parent 230e73d commit 83d2231
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ jobs:
- name: Build SDL3 (Debug)
run: |
cd SDL
cmake -B debug -G Ninja . -DCMAKE_BUILD_TYPE=Debug
cmake -B debug -G Ninja . -DCMAKE_BUILD_TYPE=Debug -DSDL_UNIX_CONSOLE_BUILD=ON
ninja -C debug
cd ..
Expand Down Expand Up @@ -338,7 +338,7 @@ jobs:
- name: Build SDL3 (Debug)
run: |
cd SDL
cmake -B debug -G Ninja . -DCMAKE_BUILD_TYPE=Debug
cmake -B debug -G Ninja . -DCMAKE_BUILD_TYPE=Debug -DSDL_UNIX_CONSOLE_BUILD=ON
ninja -C debug
cd ..
Expand Down Expand Up @@ -376,16 +376,16 @@ jobs:
dnf update -y
dnf install -y epel-release
crb enable
dnf install -y git cmake ninja-build mingw32-gcc mingw64-gcc xz
dnf install -y git cmake ninja-build mingw32-gcc mingw64-gcc
- uses: actions/checkout@v4
with:
submodules: true

- name: Download SDL
run: |
curl -LO https://github.com/libsdl-org/SDL/releases/download/preview-$SDL3_VERSION/SDL3-devel-$SDL3_VERSION-mingw.tar.xz
tar -xvf SDL3-devel-$SDL3_VERSION-mingw.tar.xz -C ${GITHUB_WORKSPACE}
curl -LO https://github.com/libsdl-org/SDL/releases/download/preview-$SDL3_VERSION/SDL3-devel-$SDL3_VERSION-mingw.tar.gz
tar -xvf SDL3-devel-$SDL3_VERSION-mingw.tar.gz -C ${GITHUB_WORKSPACE}
- name: CMake configure 32-bit (Release)
run: mingw32-cmake -B release-x86 -G Ninja . -DBUILD_SDL3=ON -DCMAKE_BUILD_TYPE=Release -DSDL3_LIBRARIES=${GITHUB_WORKSPACE}/SDL3-$SDL3_VERSION/i686-w64-mingw32/bin/SDL3.dll -DSDL3_INCLUDE_DIRS=${GITHUB_WORKSPACE}/SDL3-$SDL3_VERSION/i686-w64-mingw32/include
Expand Down

0 comments on commit 83d2231

Please sign in to comment.