mirror of https://github.com/ppy/SDL3-CS.git
dont call apt on windows
This commit is contained in:
parent
2b02e0d76a
commit
9e3a1cc308
|
|
@ -91,7 +91,9 @@ jobs:
|
|||
|
||||
- name: Build
|
||||
if: ${{ !contains(matrix.platform.container, 'arm') }}
|
||||
shell: bash
|
||||
run: |
|
||||
if [[ ${{ runner.os }} == 'Linux' ]]; then
|
||||
# Setup Linux dependencies
|
||||
if [[ ${{ matrix.platform.target_apt_arch }} == :i386 ]]; then
|
||||
sudo dpkg --add-architecture i386
|
||||
|
|
@ -137,6 +139,7 @@ jobs:
|
|||
libdrm-dev${{ matrix.platform.target_apt_arch }} \
|
||||
libgbm-dev${{ matrix.platform.target_apt_arch }} \
|
||||
libpulse-dev${{ matrix.platform.target_apt_arch }}
|
||||
fi
|
||||
|
||||
# Configure CMake
|
||||
${{ matrix.platform.cmake_configure_env }} cmake -B build ${{ matrix.platform.flags }} -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DSDL_SHARED_ENABLED_BY_DEFAULT=ON -DSDL_STATIC_ENABLED_BY_DEFAULT=ON
|
||||
|
|
|
|||
Loading…
Reference in New Issue