build: use build deps for linux
This commit is contained in:
parent
43c0f3d676
commit
c0a1b56f4e
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
|
@ -16,6 +16,7 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest]
|
os: [ubuntu-latest, windows-latest]
|
||||||
profile: ['debug', 'release', 'optimized']
|
profile: ['debug', 'release', 'optimized']
|
||||||
|
arch: ['x86_64']
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
|
@ -35,11 +36,12 @@ jobs:
|
||||||
with:
|
with:
|
||||||
version: latest
|
version: latest
|
||||||
cache: true
|
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
|
name: Install Meson for spirv-to-dxil-sys
|
||||||
# - if: runner.os == 'Windows'
|
- if: runner.os == 'Linux'
|
||||||
# name: Install winflexbison
|
name: Install Mesa build deps
|
||||||
# run: choco install winflexbison3
|
run: apt-get build-dep mesa
|
||||||
- name: Build dynamic library
|
- name: Build dynamic library
|
||||||
run: cargo run -p librashader-build-script -- --profile ${{ matrix.profile }}
|
run: cargo run -p librashader-build-script -- --profile ${{ matrix.profile }}
|
||||||
- name: Upload build artifacts
|
- name: Upload build artifacts
|
||||||
|
|
Loading…
Reference in a new issue