29 lines
591 B
YAML
29 lines
591 B
YAML
name: check-spv
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
workflow_dispatch:
|
|
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
|
|
jobs:
|
|
check-spv:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Show env
|
|
run: |
|
|
uname -a
|
|
ldd --version
|
|
- name: Install
|
|
run: |
|
|
curl https://sh.rustup.rs -sSf | sh -s -- -y
|
|
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
|
- name: Check
|
|
run: |
|
|
cargo run --manifest-path compile-shaders/Cargo.toml -p compile-shaders-core
|
|
git diff --exit-code
|