Skip to content

Commit 4becbb8

Browse files
committed
test whether we can build manylinux
1 parent 9ebb4a2 commit 4becbb8

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/package.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,16 @@ jobs:
2222
python-version: ${{ matrix.python-version }}
2323
- name: Install Python dependencies
2424
run: |
25-
which python
2625
python -m pip install --upgrade pip
2726
pip install -r requirements.txt
2827
- name: Build crate
2928
run: cargo build --verbose
3029
- name: Test crate
3130
run: cargo test --verbose
31+
# this needs to be moved to a separate workflow
32+
# here it is run on the whole matrix and this fails
33+
# - name: Publish crate
34+
# run: cargo publish --token ${{ secrets.CRATES_TOKEN }}
3235
- name: Maturin build and publish
3336
run:
3437
maturin publish --no-sdist -u __token__ -i python

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,4 @@ jobs:
3333
pip install -r requirements.txt
3434
maturin develop
3535
pytest tests/test.py
36+
maturin build

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[build-system]
2-
requires = ["maturin"]
2+
requires = ["maturin>=0.10,<0.11"]
33
build-backend = "maturin"

0 commit comments

Comments
 (0)