Skip to content

Commit 9130340

Browse files
committed
ci: remove Python bundle validation from all workflows
Removed validate_python_bundle.sh and all references to it. The script validated torch, diffusers, and ml-stable-diffusion tools which were removed in the previous commit. Updated: ci.yml, nightly-dev.yml, release.yml, test-release-local.sh
1 parent b32972b commit 9130340

File tree

6 files changed

+14
-241
lines changed

6 files changed

+14
-241
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,7 @@ jobs:
4949
5050
- name: Build SAM (Debug)
5151
run: make build-debug
52-
53-
- name: Validate Python Bundle
54-
run: ./scripts/validate_python_bundle.sh Debug
55-
52+
5653
- name: Run unit tests
5754
run: make test || echo "Tests not yet implemented"
5855

.github/workflows/nightly-dev.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,7 @@ jobs:
8888
8989
- name: Build development release
9090
run: make build-release
91-
92-
- name: Validate Python Bundle
93-
run: ./scripts/validate_python_bundle.sh Release
94-
91+
9592
- name: Sign and notarize
9693
run: |
9794
if [ -f /Users/andrew/.sam_runner_env ]; then

.github/workflows/release.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,7 @@ jobs:
6969
7070
- name: Build release package
7171
run: make build-release
72-
73-
- name: Validate Python Bundle
74-
run: ./scripts/validate_python_bundle.sh Release
75-
72+
7673
- name: Sign and notarize
7774
run: |
7875
if [ -f /Users/andrew/.sam_runner_env ]; then

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,4 @@ scratch/
6565
# CLIO (managed automatically)
6666
.clio/*
6767
!.clio/instructions.md
68+
dist/

scripts/test-release-local.sh

100755100644
Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -31,39 +31,34 @@ echo ""
3131
echo "3. Building release..."
3232
time make build-release
3333

34-
# Step 4: Validate Python bundle
34+
# Step 4: Source environment
3535
echo ""
36-
echo "4. Validating Python bundle..."
37-
./scripts/validate_python_bundle.sh Release
38-
39-
# Step 5: Source environment
40-
echo ""
41-
echo "5. Loading runner environment..."
36+
echo "4. Loading runner environment..."
4237
if [ -f /Users/andrew/.sam_runner_env ]; then
4338
source /Users/andrew/.sam_runner_env
4439
echo " Keychains unlocked"
4540
else
4641
echo " WARNING: No runner environment file"
4742
fi
4843

49-
# Step 6: Sign
44+
# Step 5: Sign
5045
echo ""
51-
echo "6. Signing..."
46+
echo "5. Signing..."
5247
time ./scripts/sign_app.sh
5348

54-
# Step 7: Notarize
49+
# Step 6: Notarize
5550
echo ""
56-
echo "7. Notarizing..."
51+
echo "6. Notarizing..."
5752
time ./scripts/notarize_app.sh
5853

59-
# Step 8: Create DMG
54+
# Step 7: Create DMG
6055
echo ""
61-
echo "8. Creating DMG..."
56+
echo "7. Creating DMG..."
6257
time make create-dmg
6358

64-
# Step 9: Verify files
59+
# Step 8: Verify files
6560
echo ""
66-
echo "9. Verifying distribution files..."
61+
echo "8. Verifying distribution files..."
6762
if [ -f "dist/SAM-${VERSION}.dmg" ]; then
6863
echo " ✓ Found DMG: dist/SAM-${VERSION}.dmg"
6964
ls -lh "dist/SAM-${VERSION}.dmg"

scripts/validate_python_bundle.sh

Lines changed: 0 additions & 214 deletions
This file was deleted.

0 commit comments

Comments
 (0)