Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Update to hyperdrive v0.6.0 #238

Update to hyperdrive v0.6.0

Update to hyperdrive v0.6.0 #238

name: build linux wheels
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
detect-changes:
uses: ./.github/workflows/check_diff.yml
with:
pattern: ^crates/hyperdrivepy
build:
needs: detect-changes
# Run only if changes are detected
if: needs.detect-changes.outputs.changed == 'true'
name: build on linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{github.token}}
- name: setup rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: setup foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: set up python
uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: "pip"
token: ${{github.token}}
- name: set up pip
run: python -m pip install --upgrade pip
- name: check out hyperdrive
uses: actions/checkout@master
with:
repository: delvtech/hyperdrive
ref: "v0.6.0"
path: "./hyperdrive"
ssh-key: ${{ secrets.HYPERDRIVE_ACCESS_KEY }}
- name: build hyperdrivepy
shell: bash
run: source scripts/build_python.sh
- name: upload artifacts
uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl