Skip to content

Commit 7c637ef

Browse files
committed
Use ppbt toolchain when building.
Instead of having relenv maintain, build and distribute it's own toolchain use ppbt. The benefits of ppbt are that the toolchain comes packaged in python wheel. Also we'll only need to build ppbt when changes take place to the toolchain instead of every relenv release.
1 parent 232d788 commit 7c637ef

File tree

9 files changed

+17
-3411
lines changed

9 files changed

+17
-3411
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,6 @@ jobs:
5151
deleted:
5252
- deleted:
5353
- '**'
54-
toolchain:
55-
- added|modified:
56-
- '.github/workflows/*toolchain*.yml'
57-
- 'relenv/toolchain.py'
58-
- 'relenv/_toolchain/**'
59-
6054
pre-commit:
6155
name: Pre-Commit
6256
uses: ./.github/workflows/pre-commit-action.yml
@@ -75,20 +69,11 @@ jobs:
7569
kind: "${{ inputs.kind }}"
7670
cmd: "${{ inputs.package_command }}"
7771

78-
toolchain:
79-
name: Toolchain Builds
80-
uses: ./.github/workflows/toolchain-action.yml
81-
needs:
82-
- get-changed-files
83-
with:
84-
changed-files: ${{ needs.get-changed-files.outputs.changed-files }}
85-
8672
build-native:
8773
name: Python Native Builds
8874
uses: ./.github/workflows/build-native-action.yml
8975
needs:
9076
- get-changed-files
91-
- toolchain
9277
with:
9378
changed-files: ${{ needs.get-changed-files.outputs.changed-files }}
9479

@@ -104,7 +89,6 @@ jobs:
10489
# uses: ./.github/workflows/build-action.yml
10590
# needs:
10691
# - get-changed-files
107-
# - toolchain
10892
# - build-native
10993
# with:
11094
# changed-files: ${{ needs.get-changed-files.outputs.changed-files }}
@@ -138,16 +122,6 @@ jobs:
138122
with:
139123
version: "${{ needs.build-python-package.outputs.version }}"
140124

141-
upload-toolchain-artifacts:
142-
name: Deploy Toolchain
143-
if: ${{ inputs.kind == 'release' && success() }}
144-
uses: ./.github/workflows/deploy-toolchain-action.yml
145-
needs:
146-
- build-python-package
147-
- toolchain
148-
with:
149-
version: "${{ needs.build-python-package.outputs.version }}"
150-
151125
deploy-python-package:
152126
name: Deploy Python Package
153127
uses: ./.github/workflows/deploy-package-action.yml
@@ -159,7 +133,6 @@ jobs:
159133
- build-python-package
160134
- test-fips
161135
- upload-build-artifacts
162-
- upload-toolchain-artifacts
163136

164137
create-release:
165138
name: Create Github Release
@@ -180,13 +153,11 @@ jobs:
180153
if: always()
181154
needs:
182155
- pre-commit
183-
- toolchain
184156
- build-native
185157
#- build-cross
186158
- test
187159
- docs
188160
- upload-build-artifacts
189-
- upload-toolchain-artifacts
190161
- deploy-python-package
191162
- create-release
192163
steps:

0 commit comments

Comments
 (0)