Nightly CI #298
This file contains hidden or 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: Nightly CI | |
| on: | |
| schedule: | |
| - cron: "0 0 * * *" | |
| pull_request: | |
| branches: | |
| - master | |
| paths: | |
| - ".github/workflows/nightly-ci.yml" | |
| workflow_dispatch: | |
| jobs: | |
| ci: | |
| uses: angr/ci-settings/.github/workflows/angr-ci.yml@master | |
| with: | |
| nightly: true | |
| secrets: inherit | |
| windows: | |
| name: Test Windows | |
| runs-on: windows-2022 | |
| strategy: | |
| matrix: | |
| runner_id: [1, 2, 3, 4, 5] | |
| fail-fast: false | |
| steps: | |
| - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v4 | |
| with: | |
| path: angr | |
| - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v4 | |
| with: | |
| repository: angr/binaries | |
| path: binaries | |
| - uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1 | |
| - uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v6 | |
| - name: Sync dependencies | |
| run: uv --directory angr sync -p 3.10 | |
| - name: Run pytest | |
| run: uv --directory angr run pytest -n auto --splits 5 --group ${{ matrix.runner_id }} tests | |
| macos: | |
| name: Test macOS | |
| runs-on: macos-15 | |
| strategy: | |
| matrix: | |
| runner_id: [1, 2, 3] | |
| fail-fast: false | |
| steps: | |
| - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v4 | |
| with: | |
| path: angr | |
| - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v4 | |
| with: | |
| repository: angr/binaries | |
| path: binaries | |
| - uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v6 | |
| # XXX: Install CMake<4 to build pinned unicorn==2.0.1.post1 for now | |
| - name: Install CMake | |
| uses: ssrobins/install-cmake@c54bb968401dd4ff9e6c9d697df5b843ee3b783b # v1 | |
| with: | |
| version: 3.31.9 | |
| - name: Sync dependencies | |
| run: uv --directory angr sync -p 3.10 | |
| - name: Run pytest | |
| run: uv --directory angr run pytest -n auto --splits 3 --group ${{ matrix.runner_id }} tests |