chore(ci): run on ubuntu 24.04 instead of ubuntu 20.04 #841
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Blockifier-Post-Merge | |
on: | |
pull_request: | |
types: | |
- closed | |
paths: | |
- '.github/workflows/blockifier_post-merge.yml' | |
- 'crates/blockifier/**' | |
- 'crates/native_blockifier/**' | |
- 'scripts/dependencies.sh' | |
jobs: | |
if_merged: | |
if: github.event.pull_request.merged == true | |
runs-on: starkware-ubuntu-24.04-medium | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/bootstrap | |
# Setup pypy and link to the location expected by .cargo/config.toml. | |
- uses: actions/setup-python@v5 | |
id: setup-pypy | |
with: | |
python-version: 'pypy3.9' | |
- run: ln -s '${{ steps.setup-pypy.outputs.python-path }}' /usr/local/bin/pypy3.9 | |
- env: | |
LD_LIBRARY_PATH: ${{ env.Python3_ROOT_DIR }}/bin | |
run: echo "LD_LIBRARY_PATH=${LD_LIBRARY_PATH}" >> $GITHUB_ENV | |
- run: | | |
pip install -r crates/blockifier_test_utils/tests/requirements.txt | |
cargo test -p blockifier -p native_blockifier -- --include-ignored |