Skip to content

Commit

Permalink
update file structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Lips7 committed Jun 11, 2024
1 parent af506aa commit 4459d4e
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 7 deletions.
27 changes: 23 additions & 4 deletions .github/workflows/publish_py.yml → .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,23 @@
#
# maturin generate-ci github
#
name: publish_py
name: python

on:
push:
branches:
- master
tags:
- '*'
paths:
- '.github/workflows/python.yml'
- 'matcher_rs/**'
- 'matcher_py/**'
pull_request:
workflow_dispatch:
branches:
- master
paths:
- '.github/workflows/python.yml'
- 'matcher_rs/**'
- 'matcher_py/**'

defaults:
run:
Expand Down Expand Up @@ -51,6 +58,8 @@ jobs:
args: --release --out dist
sccache: 'true'
manylinux: auto
rust-toolchain: nightly
working-directory: matcher_py
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -82,6 +91,8 @@ jobs:
args: --release --out dist
sccache: 'true'
manylinux: musllinux_1_2
rust-toolchain: nightly
working-directory: matcher_py
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -109,6 +120,8 @@ jobs:
target: ${{ matrix.platform.target }}
args: --release --out dist
sccache: 'true'
rust-toolchain: nightly
working-directory: matcher_py
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
Expand All @@ -135,6 +148,8 @@ jobs:
target: ${{ matrix.platform.target }}
args: --release --out dist
sccache: 'true'
rust-toolchain: nightly
working-directory: matcher_py
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
Expand All @@ -150,6 +165,8 @@ jobs:
with:
command: sdist
args: --out dist
rust-toolchain: nightly
working-directory: matcher_py
- name: Upload sdist
uses: actions/upload-artifact@v4
with:
Expand All @@ -170,3 +187,5 @@ jobs:
with:
command: upload
args: --non-interactive --skip-existing wheels-*/*
rust-toolchain: nightly
working-directory: matcher_py
14 changes: 11 additions & 3 deletions .github/workflows/ci.yml → .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
name: ci
name: rust

on:
push:
branches: [ "master" ]
branches:
- master
paths:
- '.github/workflows/rust.yml'
- 'matcher_rs/**'
pull_request:
branches: [ "master" ]
branches:
- master
paths:
- '.github/workflows/rust.yml'
- 'matcher_rs/**'

env:
CARGO_TERM_COLOR: always
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 4459d4e

Please sign in to comment.