ci: adapt to nix native runner
This commit is contained in:
parent
7aea0095e9
commit
7b1f3cca04
5 changed files with 6 additions and 90 deletions
12
.github/workflows/check-spv.yml
vendored
12
.github/workflows/check-spv.yml
vendored
|
|
@ -12,18 +12,10 @@ env:
|
|||
|
||||
jobs:
|
||||
check-spv:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: native
|
||||
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
|
||||
nix develop . --command cargo run --manifest-path compile-shaders/Cargo.toml -p compile-shaders-core
|
||||
git diff --exit-code
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue