File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Basic
2+
3+ on :
4+ push :
5+ branches : [ "main" ]
6+
7+ pull_request :
8+ branches : [ "main" ]
9+
10+ env :
11+ CARGO_TERM_COLOR : always
12+
13+ jobs :
14+ build :
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ - uses : actions/checkout@v4
19+
20+ - name : Setup oneAPI
21+ run : |
22+ # download and install oneAPI, call setvars.sh to set env vars
23+ 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
24+ sudo sh ./intel-oneapi-toolkit-2026.1.0.192_offline.sh -a --silent --cli --eula accept
25+ source /opt/intel/oneapi/setvars.sh
26+ # copy envs to github
27+ printenv | grep -E '^(PATH|LD_LIBRARY_PATH|LIBRARY_PATH|CPATH|C_INCLUDE_PATH|CPLUS_INCLUDE_PATH)=' >> $GITHUB_ENV
28+
29+ - name : Build
30+ run : cargo build --verbose
31+
32+ - name : Run tests
33+ run : cargo test --verbose
You can’t perform that action at this time.
0 commit comments