add basic CI for generic tests#4
Open
bratpiorka wants to merge 2 commits into
Open
Conversation
9612a1f to
c6925ed
Compare
There was a problem hiding this comment.
Pull request overview
Adds a basic GitHub Actions workflow to build/test the workspace on Linux and optionally generate & publish Rust docs to GitHub Pages, alongside a small cleanup in the oneapi-rs-sys build script.
Changes:
- Introduces
.github/workflows/basic.ymlto install oneAPI, build, run tests, and (optionally) generate + deploycargo docoutput to GitHub Pages. - Adjusts
oneapi-rs-sys/build.rsformatting and stops explicitly linkingze_loader(now commented out).
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
oneapi-rs-sys/build.rs |
Minor build-script cleanup and link directive adjustment. |
.github/workflows/basic.yml |
New CI workflow for build/test plus on-demand docs generation and Pages deployment. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+21
to
+25
| permissions: | ||
| contents: read | ||
| pages: write | ||
| id-token: write | ||
|
|
Comment on lines
+45
to
+47
| # download and install oneAPI | ||
| wget --no-verbose https://registrationcenter-download.intel.com/akdlm/IRC_NAS/33cb2a22-ddf1-4aa9-8d68-1f5a118acaf2/intel-oneapi-toolkit-2026.1.0.192_offline.sh | ||
| sudo sh ./intel-oneapi-toolkit-2026.1.0.192_offline.sh -a --silent --cli --eula accept |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
add basic CI for generic tests and docs generation
example of docs: https://bratpiorka.github.io/oneapi-rs
NOTE: Temporarily disable linking to libze_loader, as it is not installed on generic GitHub machines.