Compare commits
No commits in common. "0ef73312767c9c1baa87710137c7e43e0b7b31d8" and "032aa3540b664388bf868399587ebaa27c4a6959" have entirely different histories.
0ef7331276
...
032aa3540b
1 changed files with 40 additions and 42 deletions
|
@ -14,37 +14,36 @@ jobs:
|
|||
uses: https://github.com/actions-rust-lang/setup-rust-toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
override: false
|
||||
components: rustfmt
|
||||
- name: Check Rust formatting
|
||||
run: cargo fmt --all -- --check
|
||||
|
||||
# clippy:
|
||||
# name: Clippy
|
||||
# runs-on: docker
|
||||
# steps:
|
||||
# - name: Checkout
|
||||
# uses: actions/checkout@v4
|
||||
# - name: Set up Rust
|
||||
# uses: https://github.com/actions-rust-lang/setup-rust-toolchain@v1
|
||||
# with:
|
||||
# toolchain: stable
|
||||
# components: clippy
|
||||
# - name: Run Clippy
|
||||
# run: cargo clippy -- -D warnings
|
||||
clippy:
|
||||
name: Clippy
|
||||
runs-on: docker
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Set up Rust
|
||||
uses: https://github.com/actions-rust-lang/setup-rust-toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
components: clippy
|
||||
- name: Run Clippy
|
||||
run: cargo clippy -- -D warnings
|
||||
|
||||
# check:
|
||||
# name: Check
|
||||
# runs-on: docker
|
||||
# steps:
|
||||
# - name: Checkout
|
||||
# uses: actions/checkout@v4
|
||||
# - name: Set up Rust
|
||||
# uses: https://github.com/actions-rust-lang/setup-rust-toolchain@v1
|
||||
# with:
|
||||
# toolchain: stable
|
||||
# - name: Check for Rust compilation errors
|
||||
# run: cargo check
|
||||
check:
|
||||
name: Check
|
||||
runs-on: docker
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Set up Rust
|
||||
uses: https://github.com/actions-rust-lang/setup-rust-toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
- name: Check for Rust compilation errors
|
||||
run: cargo check
|
||||
|
||||
build:
|
||||
name: Build
|
||||
|
@ -52,29 +51,28 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Set up Rust
|
||||
uses: https://github.com/actions-rust-lang/setup-rust-toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
- name: Set up Python toolchain
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.13.2
|
||||
- name: Set up Python environment
|
||||
run: pip install -r requirements.txt
|
||||
- name: Build Rust code
|
||||
run: maturin develop
|
||||
|
||||
test-rust:
|
||||
name: Test Rust
|
||||
runs-on: docker
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Set up Rust
|
||||
uses: https://github.com/actions-rust-lang/setup-rust-toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
override: false
|
||||
- name: Build Rust code
|
||||
run: maturin develop
|
||||
|
||||
# test-rust:
|
||||
# name: Test Rust
|
||||
# runs-on: docker
|
||||
# steps:
|
||||
# - name: Checkout
|
||||
# uses: actions/checkout@v4
|
||||
# - name: Set up Rust
|
||||
# uses: https://github.com/actions-rust-lang/setup-rust-toolchain@v1
|
||||
# with:
|
||||
# toolchain: stable
|
||||
# - name: Run Rust tests
|
||||
# run: cargo test
|
||||
- name: Run Rust tests
|
||||
run: cargo test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue