Main-CI-Nightly #36
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: Main-CI-Nightly | |
on: | |
schedule: | |
- cron: "0 0 * * *" # Runs at 00:00 UTC every day | |
workflow_dispatch: | |
env: | |
RUSTFLAGS: "-D warnings -C link-arg=-fuse-ld=lld" | |
jobs: | |
codecov: | |
runs-on: starkware-ubuntu-latest-large | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/bootstrap | |
- run: npm install -g [email protected] | |
- name: Install cargo-llvm-cov | |
uses: taiki-e/install-action@cargo-llvm-cov | |
- name: "Run codecov" | |
run: cargo llvm-cov --codecov --output-path codecov.json | |
env: | |
SEED: 0 | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v5 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
verbose: true | |
feature_combos: | |
runs-on: starkware-ubuntu-latest-large | |
steps: | |
- uses: actions/checkout@v4 | |
# 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: ${{ steps.setup-pypy.outputs.pythonLocation }}/bin | |
run: echo "LD_LIBRARY_PATH=${LD_LIBRARY_PATH}" >> $GITHUB_ENV | |
# Install rust components. | |
- uses: ./.github/actions/bootstrap | |
- name: Setup Python venv | |
run: | | |
python3 -m venv ci | |
ci/bin/pip install -r scripts/requirements.txt | |
# Run feature combo test. | |
- name: "Run feature combo on all crates." | |
run: ci/bin/python scripts/run_feature_combos_test.py |