build: update spirv-to-dxil-sys to reduce mesa build reqs #293
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build librashader-capi for x86_64 | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
schedule: | |
- cron: "0 0 * * 6" | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
profile: ['debug', 'release', 'optimized'] | |
fail-fast: false | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install nightly Rust | |
uses: actions-rs/[email protected] | |
with: | |
toolchain: nightly | |
override: true | |
- uses: actions/setup-python@v1 | |
name: Setup Python 3.11 | |
with: | |
python-version: '3.11.6' | |
- name: Install ARM64 Build Tools | |
run: sudo apt-get install -y binutils-aarch64-linux-gnu gcc-aarch64-linux-gnu g++-aarch64-linux-gnu | |
- name: Install Vulkan SDK | |
uses: humbletim/[email protected] | |
with: | |
version: latest | |
cache: true | |
- if: runner.os == 'Windows' | |
run: pip install meson ninja mako | |
name: Install Meson for spirv-to-dxil-sys | |
- name: Build dynamic library | |
run: cargo run -p librashader-build-script -- --profile ${{ matrix.profile }} | |
- name: Upload build artifacts | |
uses: actions/[email protected] | |
with: | |
name: ${{ format('build-outputs-{0}-{1}', matrix.os, matrix.profile) }} | |
path: ${{ format('target/{0}/librashader.*', matrix.profile) }} |