Skip to content

Commit 156018c

Browse files
joshlfmdittmer
andcommitted
[anneal][v2] Initial commit of exocrate
Co-authored-by: Mark Dittmer <markdittmer@google.com> gherrit-pr-id: G34qjom3lz7cc6hd57tgp44t4pzlstdhj
1 parent be6f199 commit 156018c

4,902 files changed

Lines changed: 2435482 additions & 12510 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/anneal.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,25 @@ jobs:
455455
fi
456456
fi
457457
458+
v2:
459+
name: Run V2 tests
460+
runs-on: ubuntu-latest
461+
needs: build_docker_env
462+
permissions:
463+
contents: read
464+
steps:
465+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
466+
with:
467+
persist-credentials: false
468+
469+
- name: Install latest nightly Rust
470+
uses: dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9 # zizmor: ignore[superfluous-actions]
471+
with:
472+
toolchain: nightly
473+
474+
- name: Run V2 tests
475+
run: cargo test --workspace
476+
working-directory: anneal/v2
458477

459478
# Used to signal to branch protections that all other jobs have succeeded.
460479
all-jobs-succeed:
@@ -469,7 +488,7 @@ jobs:
469488
# 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
470489
if: failure()
471490
runs-on: ubuntu-latest
472-
needs: [build_docker_env, anneal_tests, verify_examples, measure_image_size]
491+
needs: [build_docker_env, anneal_tests, verify_examples, measure_image_size, v2]
473492
steps:
474493
- name: Mark the job as failed
475494
run: exit 1

anneal/v2/.cargo/config.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[env]
2+
__ZEROCOPY_LOCAL_DEV = "1"
3+
4+
[source.crates-io]
5+
replace-with = "vendored-sources"
6+
7+
[source.vendored-sources]
8+
directory = "vendor"

0 commit comments

Comments
 (0)