Merge pull request #115 from ekrctb/fix-i386
Fix linux-x86 build failure and improve apt-get command line
This commit is contained in:
commit
562fc2fcfe
20
.github/workflows/build.yml
vendored
20
.github/workflows/build.yml
vendored
@ -27,13 +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 add-apt-repository ppa:team-xbmc/ppa
|
|
||||||
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 }} \
|
||||||
@ -59,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