File tree Expand file tree Collapse file tree 2 files changed +29
-1
lines changed
Expand file tree Collapse file tree 2 files changed +29
-1
lines changed Original file line number Diff line number Diff line change 6565 run : echo "SHORT_HASH=${COMMIT_SHA:0:7}" >> $GITHUB_ENV
6666
6767 - name : Build CLI binary
68- run : ./build_native_in_docker.sh rustup toolchain install && cargo build -p starknet_committer_and_os_cli -r --bin starknet_committer_and_os_cli --target-dir CLI_TARGET
68+ run : ./build_native_in_docker.sh cargo build -p starknet_committer_and_os_cli -r --bin starknet_committer_and_os_cli --target-dir CLI_TARGET
6969
7070 - id : auth
7171 uses : " google-github-actions/auth@v2"
Original file line number Diff line number Diff line change 3636 if : ${{ github.event_name == 'pull_request' }}
3737 steps :
3838 - uses : actions/checkout@v4
39+
40+ # Setup pypy and link to the location expected by .cargo/config.toml.
41+ - uses : actions/setup-python@v5
42+ id : setup-pypy
43+ with :
44+ python-version : " pypy3.9"
45+ cache : ' pip'
46+ - run : ln -s '${{ steps.setup-pypy.outputs.python-path }}' /usr/local/bin/pypy3.9
47+ - env :
48+ LD_LIBRARY_PATH : ${{ steps.setup-pypy.outputs.pythonLocation }}/bin
49+ run : echo "LD_LIBRARY_PATH=${LD_LIBRARY_PATH}" >> $GITHUB_ENV
50+ - run : pip install -r scripts/requirements.txt
51+
52+ # Bootstrap.
3953 - uses : ./.github/actions/bootstrap
4054 with :
4155 github_token : ${{ secrets.GITHUB_TOKEN }}
5771 - uses : actions/checkout@v4
5872 with :
5973 ref : ${{ github.base_ref }}
74+
75+ # Setup pypy and link to the location expected by .cargo/config.toml.
76+ - uses : actions/setup-python@v5
77+ id : setup-pypy
78+ with :
79+ python-version : " pypy3.9"
80+ cache : ' pip'
81+ - run : ln -s '${{ steps.setup-pypy.outputs.python-path }}' /usr/local/bin/pypy3.9
82+ - env :
83+ LD_LIBRARY_PATH : ${{ steps.setup-pypy.outputs.pythonLocation }}/bin
84+ run : echo "LD_LIBRARY_PATH=${LD_LIBRARY_PATH}" >> $GITHUB_ENV
85+ - run : pip install -r scripts/requirements.txt
86+
87+ # Bootstrap.
6088 - uses : ./.github/actions/bootstrap
6189 with :
6290 github_token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments