Skip to content

Commit

Permalink
Fix Linux package workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Ralith committed Jul 31, 2024
1 parent a3c57e6 commit b91ad98
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,26 +42,15 @@ jobs:

package-linux:
name: Linux
runs-on: ubuntu-latest
container: quay.io/pypa/manylinux2014_x86_64
# Oldest supported runner, for wide glibc compat
runs-on: ubuntu-20.04
steps:
- name: Install Git LFS
run: |
yum install -y git-lfs
- uses: actions/checkout@v4
with:
lfs: true
- name: Install dependencies
run: |
yum install -y alsa-lib-devel vulkan-devel python3 fontconfig-devel
- name: Install shaderc
if: matrix.os == 'ubuntu-latest'
run: |
wget -nv -r -nd -A install.tgz 'https://storage.googleapis.com/shaderc/badges/build_link_linux_clang_release.html'
tar xf install.tgz
echo "SHADERC_LIB_DIR=$PWD/install/lib" >> "$GITHUB_ENV"
run: sudo apt update && sudo apt-get -y install libasound2-dev libvulkan-dev libfontconfig-dev
# No prebuilt shaderc, since the official binaries don't to be compatible with Ubuntu 20.04.
- uses: dtolnay/rust-toolchain@stable

- name: Build Server
Expand Down

0 comments on commit b91ad98

Please sign in to comment.