Skip to content

Commit

Permalink
Test build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanIsCoding committed Oct 29, 2023
1 parent 30c13d6 commit 50ccfa6
Showing 1 changed file with 17 additions and 29 deletions.
46 changes: 17 additions & 29 deletions .github/workflows/wheels.yml → .github/workflows/wheels_test.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,14 @@
---
name: Wheel Builds
name: Wheel Builds Test
on:
push:
tags:
- '*'
branches:
- testing-musl-aarch64
jobs:
rustworkx-core:
name: Publish rustworkx-core
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- name: Run cargo publish
run: |
cd rustworkx-core
cargo publish
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
sdist:
name: Build sdist
runs-on: ubuntu-latest
environment: release

permissions:
id-token: write
needs: ["upload_shared_wheels"]
Expand All @@ -42,7 +30,7 @@ jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
environment: release

strategy:
fail-fast: false
matrix:
Expand All @@ -67,7 +55,7 @@ jobs:
upload_shared_wheels:
name: Upload shared build wheels
runs-on: ubuntu-latest
environment: release

permissions:
id-token: write
needs: ["build_wheels", "build-mac-arm-wheels", "build-win32-wheels"]
Expand All @@ -83,7 +71,7 @@ jobs:
build_wheels_aarch64:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
environment: release

permissions:
id-token: write
strategy:
Expand Down Expand Up @@ -120,7 +108,7 @@ jobs:
build_wheels_aarch64_part_2:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
environment: release

permissions:
id-token: write
strategy:
Expand Down Expand Up @@ -157,7 +145,7 @@ jobs:
build_wheels_musl_aarch64:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
environment: release

permissions:
id-token: write
strategy:
Expand Down Expand Up @@ -196,7 +184,7 @@ jobs:
build_wheels_musl_aarch64_part_2:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
environment: release

permissions:
id-token: write
strategy:
Expand Down Expand Up @@ -235,7 +223,7 @@ jobs:
build_wheels_ppc64le:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
environment: release

permissions:
id-token: write
strategy:
Expand Down Expand Up @@ -272,7 +260,7 @@ jobs:
build_wheels_ppc64le_part2:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
environment: release

permissions:
id-token: write
strategy:
Expand Down Expand Up @@ -309,7 +297,7 @@ jobs:
build_wheels_s390x:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
environment: release

permissions:
id-token: write
strategy:
Expand Down Expand Up @@ -346,7 +334,7 @@ jobs:
build_wheels_s390x_part2:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
environment: release

permissions:
id-token: write
strategy:
Expand Down Expand Up @@ -383,7 +371,7 @@ jobs:
build-mac-arm-wheels:
name: Build wheels on macos for arm and universal2
runs-on: macos-latest
environment: release

steps:
- uses: actions/checkout@v3
- name: Build wheels
Expand All @@ -400,7 +388,7 @@ jobs:
build-win32-wheels:
name: Build wheels on win32
runs-on: windows-latest
environment: release

steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
Expand Down Expand Up @@ -428,7 +416,7 @@ jobs:
retworkx-compat-build:
name: Build retworkx
runs-on: ubuntu-latest
environment: release

permissions:
id-token: write
needs: ["upload_shared_wheels"]
Expand Down

0 comments on commit 50ccfa6

Please sign in to comment.