- workflows
This commit is contained in:
23
.github/workflows/wheels.yml
vendored
23
.github/workflows/wheels.yml
vendored
@@ -1,14 +1,13 @@
|
||||
name: Wheels
|
||||
|
||||
on: workflow_call
|
||||
# [push, pull_request]
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
wheels_pytest:
|
||||
uses: ./.github/workflows/pytest.yml
|
||||
# wheels_pytest:
|
||||
# uses: ./.github/workflows/pytest.yml
|
||||
build_wheels:
|
||||
name: Build wheels on ${{ matrix.os }}
|
||||
needs: [ wheels_pytest ]
|
||||
# needs: [ wheels_pytest ]
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
@@ -19,18 +18,10 @@ jobs:
|
||||
- uses: actions/setup-python@v5
|
||||
|
||||
- name: Install cibuildwheel
|
||||
run: python -m pip install cibuildwheel==2.21.3
|
||||
|
||||
- name: Set path
|
||||
if: runner.os != 'Windows'
|
||||
run: export PATH="$HOME/.cargo/bin:$PATH"
|
||||
|
||||
- name: Check path
|
||||
if: runner.os != 'Windows'
|
||||
run: echo $PATH
|
||||
run: pip install cibuildwheel==2.21.3
|
||||
|
||||
- name: Build wheels
|
||||
run: python -m cibuildwheel --output-dir wheelhouse
|
||||
run: cibuildwheel --output-dir wheelhouse
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
@@ -47,7 +38,7 @@ jobs:
|
||||
- name: Build sdist
|
||||
run: |
|
||||
pip install build
|
||||
python -m build --sdist
|
||||
build --sdist
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
||||
24
.github/workflows/where_is_cargo.yml
vendored
24
.github/workflows/where_is_cargo.yml
vendored
@@ -1,24 +0,0 @@
|
||||
name: Where_is_cargo
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
where_is_cargo:
|
||||
name: Where is cargo
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
|
||||
- name: Check path
|
||||
if: runner.os != 'Windows'
|
||||
run: which cargo
|
||||
|
||||
- name: Check path
|
||||
if: runner.os != 'Windows'
|
||||
run: echo $PATH
|
||||
|
||||
- name: Check path
|
||||
if: runner.os != 'Windows'
|
||||
run: echo $HOME
|
||||
Reference in New Issue
Block a user