-
Notifications
You must be signed in to change notification settings - Fork 11
59 lines (54 loc) · 1.58 KB
/
release_wheel.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: Release Python Wheel
on:
release:
types:
- prereleased
- released
workflow_dispatch: { }
permissions:
id-token: write
contents: read
env:
CARGO_TERM_COLOR: always
jobs:
tests-and-lints:
uses: ./.github/workflows/tests-and-lints-template.yaml
secrets:
eth_rpc_url: ${{ secrets.ETH_RPC_URL }}
app_id: ${{ secrets.APP_ID }}
app_private_key: ${{ secrets.APP_PRIVATE_KEY }}
build_python_wheel_linux:
uses: propeller-heads/ci-cd-templates/.github/workflows/release-python-package.yaml@main
needs:
- tests-and-lints
permissions:
id-token: write
contents: read
secrets:
app_id: ${{ secrets.APP_ID }}
app_private_key: ${{ secrets.APP_PRIVATE_KEY }}
role_to_assume: ${{ secrets.ROLE_TO_ASSUME }}
domain_owner: ${{ secrets.DOMAIN_OWNER }}
aws_region: ${{ secrets.AWS_REGION }}
with:
runs_on: 'ubuntu-latest'
yum_packages: "pkgconfig openssl-devel"
package_root: "tycho_simulation_py"
use_maturin: true
build_python_wheel_macos:
uses: propeller-heads/ci-cd-templates/.github/workflows/release-python-package.yaml@main
needs:
- tests-and-lints
permissions:
id-token: write
contents: read
secrets:
app_id: ${{ secrets.APP_ID }}
app_private_key: ${{ secrets.APP_PRIVATE_KEY }}
role_to_assume: ${{ secrets.ROLE_TO_ASSUME }}
domain_owner: ${{ secrets.DOMAIN_OWNER }}
aws_region: ${{ secrets.AWS_REGION }}
with:
runs_on: 'macos-latest'
package_root: "tycho_simulation_py"
use_maturin: true