mirror of
https://github.com/vosen/ZLUDA.git
synced 2025-08-06 08:10:18 +00:00
Create rust.yml
This commit is contained in:
parent
63af70a01f
commit
44cd85eeec
1 changed files with 27 additions and 0 deletions
27
.github/workflows/rust.yml
vendored
Normal file
27
.github/workflows/rust.yml
vendored
Normal file
|
@ -0,0 +1,27 @@
|
|||
name: Rust
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install intel compute runtime
|
||||
run: |
|
||||
sudo add-apt-repository ppa:intel-opencl/intel-opencl
|
||||
sudo apt update
|
||||
sudo apt install libze-loader libze-intel-gpu
|
||||
- name: Build
|
||||
run: cargo build --verbose
|
||||
- name: Run tests
|
||||
run: cargo test --verbose
|
Loading…
Add table
Add a link
Reference in a new issue