Skip to content

Update README.md

Update README.md #12

Workflow file for this run

name: Build and Test
on:
push:
branches:
- main # Adjust the branch as needed
pull_request:
branches:
- main # Adjust the branch as needed
jobs:
build:
runs-on: ubuntu-latest # You can change the OS as needed
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x' # Choose the Python version you need
- name: Install Maturin
run: |
python3 -m pip install maturin[patchelf]
- name: Install OpenSSL development headers
run: |
sudo apt-get update
sudo apt-get install -y libssl-dev # OpenSSL development headers for Ubuntu
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
- name: Create virtual environment
run: |
python3 -m venv venv
. venv/bin/activate
- name: Install project dependencies
run: |
pip install maturin # Replace with the path to your requirements file if exists
- name: Build with Maturin
run: |
maturin build --release