Compare commits
No commits in common. "5ab5aa0301b5eaf0c6ae6943313d6be4e25498bd" and "f8a923293b70a1a07ce13473edca67f95d315f2b" have entirely different histories.
5ab5aa0301
...
f8a923293b
1 changed files with 40 additions and 34 deletions
|
@ -17,29 +17,32 @@ jobs:
|
||||||
- name: Check Rust formatting
|
- name: Check Rust formatting
|
||||||
run: cargo fmt --all -- --check
|
run: cargo fmt --all -- --check
|
||||||
|
|
||||||
clippy:
|
# clippy:
|
||||||
name: Clippy
|
# name: Clippy
|
||||||
runs-on: docker
|
# runs-on: docker
|
||||||
steps:
|
# steps:
|
||||||
- name: Checkout
|
# - name: Checkout
|
||||||
uses: actions/checkout@v4
|
# uses: actions/checkout@v4
|
||||||
- name: Set up Rust
|
# - name: Set up Rust
|
||||||
uses: https://github.com/dtolnay/rust-toolchain@stable
|
# uses: https://github.com/actions-rust-lang/setup-rust-toolchain@v1
|
||||||
with:
|
# with:
|
||||||
components: clippy
|
# toolchain: stable
|
||||||
- name: Run Clippy
|
# components: clippy
|
||||||
run: cargo clippy -- -D warnings
|
# - name: Run Clippy
|
||||||
|
# run: cargo clippy -- -D warnings
|
||||||
|
|
||||||
check:
|
# check:
|
||||||
name: Check
|
# name: Check
|
||||||
runs-on: docker
|
# runs-on: docker
|
||||||
steps:
|
# steps:
|
||||||
- name: Checkout
|
# - name: Checkout
|
||||||
uses: actions/checkout@v4
|
# uses: actions/checkout@v4
|
||||||
- name: Set up Rust
|
# - name: Set up Rust
|
||||||
uses: https://github.com/dtolnay/rust-toolchain@stable
|
# uses: https://github.com/actions-rust-lang/setup-rust-toolchain@v1
|
||||||
- name: Check for Rust compilation errors
|
# with:
|
||||||
run: cargo check
|
# toolchain: stable
|
||||||
|
# - name: Check for Rust compilation errors
|
||||||
|
# run: cargo check
|
||||||
|
|
||||||
build:
|
build:
|
||||||
name: Build
|
name: Build
|
||||||
|
@ -48,23 +51,26 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Set up Python toolchain
|
- name: Set up Python toolchain
|
||||||
uses: actions/setup-python@v5
|
uses: https://github.com/actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
|
python-version: "3.13"
|
||||||
cache: pip
|
cache: pip
|
||||||
- name: Set up Python environment
|
- name: Set up Python environment
|
||||||
run: python3 -m pip install -r requirements.txt
|
run: pip install -r requirements.txt
|
||||||
- name: Set up Rust
|
- name: Set up Rust
|
||||||
uses: https://github.com/dtolnay/rust-toolchain@stable
|
uses: https://github.com/dtolnay/rust-toolchain@stable
|
||||||
- name: Build Rust code
|
- name: Build Rust code
|
||||||
run: maturin develop
|
run: maturin develop
|
||||||
|
|
||||||
test-rust:
|
# test-rust:
|
||||||
name: Test Rust
|
# name: Test Rust
|
||||||
runs-on: docker
|
# runs-on: docker
|
||||||
steps:
|
# steps:
|
||||||
- name: Checkout
|
# - name: Checkout
|
||||||
uses: actions/checkout@v4
|
# uses: actions/checkout@v4
|
||||||
- name: Set up Rust
|
# - name: Set up Rust
|
||||||
uses: https://github.com/dtolnay/rust-toolchain@stable
|
# uses: https://github.com/actions-rust-lang/setup-rust-toolchain@v1
|
||||||
- name: Run Rust tests
|
# with:
|
||||||
run: cargo test
|
# toolchain: stable
|
||||||
|
# - name: Run Rust tests
|
||||||
|
# run: cargo test
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue