mirror of
https://github.com/Ryujinx/SDL2-CS.git
synced 2024-12-23 07:25:35 +00:00
Improve apt-get command line
- Use native Ninja. - `libwayland-client++0` and `libwayland-cursor++0` are redundant because these are dependencies of `libwayland-dev` - Added `-y` flag and `cmake` for local testing.
This commit is contained in:
parent
95c34e8606
commit
9f7112dab7
19
.github/workflows/build.yml
vendored
19
.github/workflows/build.yml
vendored
|
@ -27,12 +27,16 @@ jobs:
|
|||
- name: Setup Linux dependencies
|
||||
if: runner.os == 'Linux'
|
||||
run: |
|
||||
# TODO: only run this command on i386
|
||||
sudo dpkg --add-architecture i386
|
||||
[[ ${{ matrix.platform.target_apt_arch }} == :i386 ]] && sudo dpkg --add-architecture i386
|
||||
sudo apt-get update -y -qq
|
||||
sudo apt-get install wayland-protocols${{ matrix.platform.target_apt_arch }} \
|
||||
sudo apt-get install -y \
|
||||
gcc-multilib \
|
||||
g++-multilib \
|
||||
cmake \
|
||||
ninja-build \
|
||||
wayland-scanner++ \
|
||||
wayland-protocols \
|
||||
pkg-config${{ matrix.platform.target_apt_arch }} \
|
||||
ninja-build${{ matrix.platform.target_apt_arch }} \
|
||||
libasound2-dev${{ matrix.platform.target_apt_arch }} \
|
||||
libdbus-1-dev${{ matrix.platform.target_apt_arch }} \
|
||||
libegl1-mesa-dev${{ matrix.platform.target_apt_arch }} \
|
||||
|
@ -58,12 +62,7 @@ jobs:
|
|||
libxxf86vm-dev${{ matrix.platform.target_apt_arch }} \
|
||||
libdrm-dev${{ matrix.platform.target_apt_arch }} \
|
||||
libgbm-dev${{ matrix.platform.target_apt_arch }} \
|
||||
libpulse-dev${{ matrix.platform.target_apt_arch }} \
|
||||
libwayland-client++0$ \
|
||||
libwayland-cursor++0$ \
|
||||
wayland-scanner++ \
|
||||
gcc-multilib \
|
||||
g++-multilib
|
||||
libpulse-dev${{ matrix.platform.target_apt_arch }}
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
repository: libsdl-org/SDL
|
||||
|
|
Loading…
Reference in a new issue