Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2024-07-chores #213

Merged
merged 4 commits into from
Aug 3, 2024
Merged
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
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;
Loading