diff options
Diffstat (limited to 'third_party/rust/wpf-gpu-raster/.github/workflows/rust.yml')
-rw-r--r-- | third_party/rust/wpf-gpu-raster/.github/workflows/rust.yml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/third_party/rust/wpf-gpu-raster/.github/workflows/rust.yml b/third_party/rust/wpf-gpu-raster/.github/workflows/rust.yml new file mode 100644 index 0000000000..1f38bfc1f7 --- /dev/null +++ b/third_party/rust/wpf-gpu-raster/.github/workflows/rust.yml @@ -0,0 +1,39 @@ +name: Rust + +on: + push: + pull_request: + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test --verbose + + aarch64: + runs-on: ubuntu-20.04 + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Install toolchain + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true + target: aarch64-unknown-linux-gnu + + - name: Install cross + run: cargo install cross + + - name: Run tests with Neon + run: cross test --target aarch64-unknown-linux-gnu |