diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e0d8b4b..5c7daee 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: run-rz-bindgen +name: build on: push: workflow_dispatch: @@ -10,8 +10,7 @@ on: default: 'dev' jobs: - run-bindgen: - name: Run bindgen + pypa-wheels: runs-on: ${{ matrix.os }} strategy: @@ -30,7 +29,7 @@ jobs: path: rizin ref: ${{ inputs.rizin_ref }} - - name: Run rz-bindgen + - name: Build rz-bindgen uses: pypa/cibuildwheel@v2.8.0 - name: Upload sdist diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c2acfe9..610b720 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,4 +1,4 @@ -name: linting +name: lint on: push jobs: licenses: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e6a9da0..76eb818 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: release-rz-bindgen +name: release on: push: tags: @@ -14,16 +14,15 @@ jobs: - id: extract_version run: echo "result=$(echo ${{ github.ref }} | cut -d'_' -f1 | cut -d'-' -f2-)" >> "$GITHUB_OUTPUT" - run-bindgen: + build: uses: ./.github/workflows/ci.yml needs: [extract-rizin-version] with: rizin_ref: ${{ needs.extract-rizin-version.outputs.rizin_version }} publish-pypi: - name: Publish PyPi runs-on: ubuntu-latest - needs: [run-bindgen] + needs: [build] steps: - name: Download artifacts uses: actions/download-artifact@v3