Skip to content

Commit da51007

Browse files
authored
Ensure bootstrap has been run before install.py (#24723)
1 parent 5616c71 commit da51007

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
20+
- run: ./bootstrap
2021
- name: make dist
2122
run: |
2223
make dist

tools/install.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,15 @@
1717
import subprocess
1818
import sys
1919

20+
__scriptdir__ = os.path.dirname(os.path.abspath(__file__))
21+
__rootdir__ = os.path.dirname(__scriptdir__)
22+
sys.path.insert(0, __rootdir__)
23+
24+
# Before we can install emscripten we need to at least have bootstrapped
25+
# this checkout
26+
import bootstrap
27+
bootstrap.check()
28+
2029
EXCLUDES = [os.path.normpath(x) for x in '''
2130
test/third_party
2231
tools/maint

0 commit comments

Comments
 (0)