mirror of
https://github.com/angr/angr
synced 2026-08-17 12:23:11 -04:00
Bumps [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) from 8.3.2 to 9.0.0.
- [Release notes](https://github.com/astral-sh/setup-uv/releases)
- [Commits](11f9893b08...c771a70e62)
---
updated-dependencies:
- dependency-name: astral-sh/setup-uv
dependency-version: 9.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
64 lines
2 KiB
YAML
64 lines
2 KiB
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
workflow_dispatch:
|
|
merge_group:
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
|
|
|
|
jobs:
|
|
ci:
|
|
uses: angr/ci-settings/.github/workflows/angr-ci.yml@master
|
|
|
|
installation:
|
|
name: Test installation (${{ matrix.environment.os }}, py${{ matrix.environment.python-version }})
|
|
strategy:
|
|
matrix:
|
|
environment:
|
|
- os: windows-2025
|
|
python-version: 3.12
|
|
- os: macos-26
|
|
python-version: 3.12
|
|
- os: ubuntu-24.04
|
|
python-version: 3.14
|
|
fail-fast: false
|
|
runs-on: ${{ matrix.environment.os }}
|
|
steps:
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v4
|
|
- uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1
|
|
if: startsWith(runner.os, 'windows')
|
|
- uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v6
|
|
- name: Sync dependencies
|
|
run: uv sync -p ${{ matrix.environment.python-version }}
|
|
- name: Collect tests
|
|
run: uv run pytest --collect-only tests
|
|
|
|
rust_check:
|
|
name: Rust Check
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v4
|
|
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1
|
|
with:
|
|
components: clippy, rustfmt
|
|
- run: cargo clippy --all-targets --all-features -- -D warnings
|
|
- run: cargo fmt --all -- --check
|
|
|
|
rust_test:
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v4
|
|
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1
|
|
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v5
|
|
with:
|
|
python-version: "3.12"
|
|
- run: cargo test --release
|