Update build_linux.yml

This commit is contained in:
Kae 2024-03-09 04:06:27 +11:00
parent 6c562470f3
commit 35e880c073

View File

@ -17,14 +17,22 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Install Packages - name: Install Packages
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install -y libxmu-dev libxi-dev libgl-dev libglu1-mesa-dev ninja-build sudo apt-get install -y pkg-config ninja \
libxmu-dev libxi-dev libgl-dev libglu1-mesa-dev \ # a GL library wants these three
\ # lines below are for SDL2 compilation
pkg-config cmake ninja-build gnome-desktop-testing libasound2-dev libpulse-dev \
libaudio-dev libjack-dev libsndio-dev libusb-1.0-0-dev libx11-dev libxext-dev \
libxrandr-dev libxcursor-dev libxfixes-dev libxi-dev libxss-dev libwayland-dev \
libxkbcommon-dev libdrm-dev libgbm-dev libgl1-mesa-dev libgles2-mesa-dev \
libegl1-mesa-dev libdbus-1-dev libibus-1.0-dev libudev-dev fcitx-libs-dev \
libpipewire-0.3-dev libdecor-0-dev # remove this line if we move to an Ubuntu version < 22.04
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: sccache - name: sccache
uses: hendrikmuhs/ccache-action@v1.2 uses: hendrikmuhs/ccache-action@v1.2