Skip to content
Closed
Show file tree
Hide file tree
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
20 changes: 8 additions & 12 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
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" ]
push: {}
pull_request: {}

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -24,9 +18,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 +39,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 +89,8 @@ jobs:
lints:
name: "Lints 💅"
runs-on: ubuntu-latest
strategy:
fail-fast: false

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion crates/total-viewsheds/src/cpu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ impl Viewshed<4> for Vectorized {
#[inline]
#[cfg(not(all(target_feature = "sse", target_feature = "sse2")))]
fn max(&self, lhs: f32x4, rhs: f32x4) -> Simd<f32, 4> {
lhs.simd_max(r)
lhs.simd_max(rhs)
}

#[inline]
Expand Down
Loading