Compare commits
2 commits
f8a923293b
...
5ab5aa0301
Author | SHA1 | Date | |
---|---|---|---|
5ab5aa0301 | |||
f9705ada57 |
1 changed files with 34 additions and 40 deletions
|
@ -17,32 +17,29 @@ 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/actions-rust-lang/setup-rust-toolchain@v1
|
uses: https://github.com/dtolnay/rust-toolchain@stable
|
||||||
# with:
|
with:
|
||||||
# toolchain: stable
|
components: clippy
|
||||||
# components: clippy
|
- name: Run Clippy
|
||||||
# - name: Run Clippy
|
run: cargo clippy -- -D warnings
|
||||||
# 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/actions-rust-lang/setup-rust-toolchain@v1
|
uses: https://github.com/dtolnay/rust-toolchain@stable
|
||||||
# with:
|
- name: Check for Rust compilation errors
|
||||||
# toolchain: stable
|
run: cargo check
|
||||||
# - name: Check for Rust compilation errors
|
|
||||||
# run: cargo check
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
name: Build
|
name: Build
|
||||||
|
@ -51,26 +48,23 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Set up Python toolchain
|
- name: Set up Python toolchain
|
||||||
uses: https://github.com/actions/setup-python@v5
|
uses: 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: pip install -r requirements.txt
|
run: python3 -m 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/actions-rust-lang/setup-rust-toolchain@v1
|
uses: https://github.com/dtolnay/rust-toolchain@stable
|
||||||
# with:
|
- name: Run Rust tests
|
||||||
# toolchain: stable
|
run: cargo test
|
||||||
# - name: Run Rust tests
|
|
||||||
# run: cargo test
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue