Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define intel-sde-install action #39

Merged
merged 1 commit into from
Jun 1, 2024

Conversation

silvanshade
Copy link
Contributor

This action installs the intel software development emulator.

It is used in the CI job for the VAES backend in this PR.

The emulator is needed since GitHub Actions runners do not universally support AVX512.

QEMU could potentially be used as an alternative except that it does not support AVX512 and only recently has support for up to AVX2. Supposedly there is some support for VAES in recent versions but it may be limited to 256 variants. In any case, I could not get QEMU to work for this use case but Intel SDE works fine.

The reason for creating a separate action for this is because it may be useful for other crates intending to use recent x86_64 features. (I will likely submit more PRs making use of this at least.)

@tarcieri
Copy link
Member

A couple of yamllint failures:

Error: 12:81 [line-length] line too long (114 > 80 characters)
  Error: 1[6](https://github.com/RustCrypto/actions/actions/runs/7806517315/job/21452995756?pr=39#step:3:7):81 [line-length] line too long (86 > 80 characters)

We could probably disable that lint, or at least turn it up.

@tarcieri
Copy link
Member

@silvanshade would you still like to get this merged?

@silvanshade
Copy link
Contributor Author

Yeah this would still be needed to test the AVX512 features reliably on GitHub CI.

@tarcieri
Copy link
Member

@silvanshade can you fix the lint failure?

@silvanshade
Copy link
Contributor Author

@tarcieri I added the override for the lint. I think it should be fixed now.

@tarcieri tarcieri merged commit d81e50a into RustCrypto:master Jun 1, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants