Skip to content

Commit

Permalink
Merge pull request #213 from Walther/2024-07-chores
Browse files Browse the repository at this point in the history
2024-07-chores
  • Loading branch information
Walther authored Aug 3, 2024
2 parents 34b838f + 2a19b5b commit 7a44a3a
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 27 deletions.
8 changes: 0 additions & 8 deletions .devcontainer/devcontainer.json

This file was deleted.

26 changes: 16 additions & 10 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust toolchain
run: rustup update --no-self-update stable
- uses: Swatinem/rust-cache@v2
- name: Build
run: cargo build --verbose
Expand All @@ -23,8 +25,10 @@ jobs:
render:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust toolchain
run: rustup update --no-self-update stable
- uses: extractions/setup-just@v1
- uses: Swatinem/rust-cache@v2
- name: Build release
Expand All @@ -38,16 +42,18 @@ jobs:
cargo-deny:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust toolchain
run: rustup update --no-self-update stable
- uses: EmbarkStudios/cargo-deny-action@v1
lint: # inspired by https://github.com/EmbarkStudios/rust-gpu/blob/main/.github/workflows/ci.yaml
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, rust-src
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust toolchain
run: rustup update --no-self-update stable
- name: Install rust-toolchain # cargo version is a random command that forces the installation of rust-toolchain
run: cargo version
- name: cargo fetch
Expand Down
11 changes: 4 additions & 7 deletions .github/workflows/rustdoc.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# Borrowed from https://github.com/rust-analyzer/rust-analyzer/blob/faaec86ff0cf10dbd822a7abbeb381b3b5578141/.github/workflows/rustdoc.yaml

name: rustdoc
on:
push:
Expand All @@ -19,17 +17,16 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, rust-src
- name: Install Rust toolchain
run: rustup update --no-self-update stable

- name: Build Documentation
run: cargo doc --all --no-deps

- name: Deploy Docs
uses: peaceiris/actions-gh-pages@364c31d33bb99327c77b3a5438a83a357a6729ad # v3.4.0
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
Expand Down
4 changes: 2 additions & 2 deletions clovers/src/bvh/build.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
mod longest_axis_midpoint;
mod surface_area_heuristic;
pub use longest_axis_midpoint::build as longest_axis_midpoint;
pub use surface_area_heuristic::build as surface_area_heuristic;
pub(crate) use longest_axis_midpoint::build as longest_axis_midpoint;
pub(crate) use surface_area_heuristic::build as surface_area_heuristic;

// Internal use only
pub(crate) mod utils;

0 comments on commit 7a44a3a

Please sign in to comment.