Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
21 changes: 20 additions & 1 deletion .github/workflows/anneal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,25 @@ jobs:
fi
fi

v2:
name: Run V2 tests
runs-on: ubuntu-latest
needs: build_docker_env
permissions:
contents: read
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false

- name: Install latest nightly Rust
uses: dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9 # zizmor: ignore[superfluous-actions]
with:
toolchain: nightly

- name: Run V2 tests
run: cargo test --workspace
working-directory: anneal/v2

# Used to signal to branch protections that all other jobs have succeeded.
all-jobs-succeed:
Expand All @@ -469,7 +488,7 @@ jobs:
# https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/troubleshooting-required-status-checks#handling-skipped-but-required-checks
if: failure()
runs-on: ubuntu-latest
needs: [build_docker_env, anneal_tests, verify_examples, measure_image_size]
needs: [build_docker_env, anneal_tests, verify_examples, measure_image_size, v2]
steps:
- name: Mark the job as failed
run: exit 1
8 changes: 8 additions & 0 deletions anneal/v2/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[env]
__ZEROCOPY_LOCAL_DEV = "1"

[source.crates-io]
replace-with = "vendored-sources"

[source.vendored-sources]
directory = "vendor"
Loading
Loading