build: use build deps for linux

This commit is contained in:
chyyran 2023-11-29 01:57:34 -05:00 committed by Ronny Chan
parent 43c0f3d676
commit c0a1b56f4e

View file

@ -16,6 +16,7 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest]
profile: ['debug', 'release', 'optimized']
arch: ['x86_64']
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
@ -35,11 +36,12 @@ jobs:
with:
version: latest
cache: true
- run: pip install meson ninja mako
- if: runner.os == 'Windows'
run: pip install meson ninja mako
name: Install Meson for spirv-to-dxil-sys
# - if: runner.os == 'Windows'
# name: Install winflexbison
# run: choco install winflexbison3
- if: runner.os == 'Linux'
name: Install Mesa build deps
run: apt-get build-dep mesa
- name: Build dynamic library
run: cargo run -p librashader-build-script -- --profile ${{ matrix.profile }}
- name: Upload build artifacts