Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 10 additions & 11 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
name: Rust

# Note: when forking on GitHub, workflows are disabled-by-default; the jobs
# won't run when pushing to the fork and there won't be a button to run
# anything manually. Owners of the fork can, through the website, re-enable
# these workflows to run as specified here.
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
branches:
- main
pull_request: {}

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -24,9 +20,11 @@ env:

jobs:
build-test:
strategy:
fail-fast: false
name: Build and Test 🔬
strategy:
matrix:
arch: [x86_64, aarch64]
runner: [ubuntu-latest]
runs-on: ubuntu-latest

steps:
Expand All @@ -43,8 +41,6 @@ jobs:
run: cargo test

check-spirv-kernel:
strategy:
fail-fast: false
name: Check SPIRV kernel is compiled
runs-on: ubuntu-latest

Expand Down Expand Up @@ -95,6 +91,8 @@ jobs:
lints:
name: "Lints 💅"
runs-on: ubuntu-latest
strategy:
fail-fast: false

steps:
- uses: actions/checkout@v4
Expand All @@ -116,3 +114,4 @@ jobs:
run: cargo fmt --check
- name: Check for unused dependencies
run: cargo shear