Skip to content

Commit

Permalink
chore(rust): update CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
nkaz001 committed Nov 20, 2024
1 parent e013ee9 commit 04c6af2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,18 +42,18 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install dependencies
run: |
python3 -m ensurepip
# - name: Install dependencies
# run: |
# python3 -m ensurepip
# sudo apt-get update
# sudo apt-get install -y pkg-config openssl libssl-dev clang
# sudo apt-get install -y pkg-config openssl libssl-dev
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
rust-toolchain: ${{ env.RUST_VERSION }}
args: --manifest-path=py-hftbacktest/Cargo.toml --release --out dist --find-interpreter
sccache: 'true'
# sccache: 'true'
manylinux: 2_24
- name: Upload wheels
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -82,15 +82,15 @@ jobs:
# - name: Install dependencies
# run: |
# sudo apt-get update
# sudo apt-get install -y pkg-config openssl libssl-dev clang
# sudo apt-get install -y pkg-config openssl libssl-dev
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
rust-toolchain: ${{ env.RUST_VERSION }}
before-script-linux: .github/workflows/install_deps.sh
args: --manifest-path=py-hftbacktest/Cargo.toml --release --out dist --find-interpreter
sccache: 'true'
# sccache: 'true'
manylinux: musllinux_1_2
- name: Upload wheels
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 04c6af2

Please sign in to comment.