Fix force directed layout speed #17
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# GitHub Actions workflow to test the project on macOS, Linux, and Windows. | |
# Generated by Bing's Copilot. | |
name: Test (only) | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- dev | |
- main | |
jobs: | |
mac-test: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Rust toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
components: rustfmt, clippy | |
- name: Install Ninja | |
run: brew install ninja | |
- name: Install LLVM tools | |
run: brew install llvm | |
- name: Install cargo-llvm-cov | |
run: cargo install cargo-llvm-cov | |
- name: Run tests with coverage | |
run: cargo llvm-cov --workspace --lcov --output-path ./target/lcov.info | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v4.0.1 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
linux-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Rust toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
components: rustfmt, clippy | |
- name: Install Ninja | |
run: sudo apt-get install ninja-build | |
- name: Install LLVM tools | |
run: sudo apt-get install llvm | |
- name: Install cargo-llvm-cov | |
run: cargo install cargo-llvm-cov | |
- name: Install CUDA | |
run: sudo apt-get install nvidia-cuda-toolkit nvidia-cudnn nvidia-cuda-dev | |
- name: Run tests with coverage | |
run: cargo llvm-cov --workspace --lcov --output-path ./target/lcov.info | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v4.0.1 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |