From a448110dd6f9deb941cf3831e20f487044efb4bd Mon Sep 17 00:00:00 2001 From: Lucy Ge Date: Fri, 26 Apr 2024 15:29:25 -0700 Subject: [PATCH] try add alluxiocommon pyo3 build --- .github/workflows/ci.yml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6926e37..b831b64 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,7 +53,6 @@ jobs: # cd /root/github/alluxiofs/rust/alluxiocommon && pytest test: -# needs: alluxiocommon name: Test runs-on: ubuntu-latest timeout-minutes: 10 @@ -80,10 +79,30 @@ jobs: conda list conda --version + # alluxiocommon related + - name: Build alluxiocommon wheels + uses: PyO3/maturin-action@v1 + with: + target: ${{ runs-on }} + args: --release --out dist --find-interpreter --manifest-path rust/alluxiocommon/Cargo.toml + sccache: 'true' + manylinux: auto + - name: Install dependencies run: | pip install .[tests] +# - name: Run AlluxioCommon tests +# shell: bash +# run: | +# set -e +# pip install alluxiocommon --find-links dist --force-reinstall +# pip install pytest +# pytest -vv \ +# --log-format="%(asctime)s %(levelname)s %(message)s" \ +# --log-date-format="%H:%M:%S" \ +# rust/alluxiocommon/tests/ + - name: Run Alluxio FileSystem tests run: | pytest -vv \