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
|
- name: Setup Linux dependencies
|
||||||
if: runner.os == 'Linux'
|
if: runner.os == 'Linux'
|
||||||
run: |
|
run: |
|
||||||
# TODO: only run this command on i386
|
[[ ${{ matrix.platform.target_apt_arch }} == :i386 ]] && sudo dpkg --add-architecture i386
|
||||||
sudo dpkg --add-architecture i386
|
|
||||||
sudo apt-get update -y -qq
|
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 }} \
|
pkg-config${{ matrix.platform.target_apt_arch }} \
|
||||||
ninja-build${{ matrix.platform.target_apt_arch }} \
|
|
||||||
libasound2-dev${{ matrix.platform.target_apt_arch }} \
|
libasound2-dev${{ matrix.platform.target_apt_arch }} \
|
||||||
libdbus-1-dev${{ matrix.platform.target_apt_arch }} \
|
libdbus-1-dev${{ matrix.platform.target_apt_arch }} \
|
||||||
libegl1-mesa-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 }} \
|
libxxf86vm-dev${{ matrix.platform.target_apt_arch }} \
|
||||||
libdrm-dev${{ matrix.platform.target_apt_arch }} \
|
libdrm-dev${{ matrix.platform.target_apt_arch }} \
|
||||||
libgbm-dev${{ matrix.platform.target_apt_arch }} \
|
libgbm-dev${{ matrix.platform.target_apt_arch }} \
|
||||||
libpulse-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
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
repository: libsdl-org/SDL
|
repository: libsdl-org/SDL
|
||||||
|
Loading…
x
Reference in New Issue
Block a user