Skip to content

Commit

Permalink
Add Intel SDE to nightly CI
Browse files Browse the repository at this point in the history
  • Loading branch information
randombit committed Aug 8, 2024
1 parent f3e5744 commit b2cbdec
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ jobs:
- target: emscripten
compiler: emcc
host_os: macos-14
- target: sde
compiler: gcc
host_os: ubuntu-24.04

runs-on: ${{ matrix.host_os }}

Expand Down
6 changes: 6 additions & 0 deletions src/scripts/ci/setup_gh_actions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,12 @@ if type -p "apt-get"; then
elif [ "$TARGET" = "cross-s390x" ]; then
sudo apt-get -qq install qemu-user g++-s390x-linux-gnu

elif [ "$TARGET" = "sde" ]; then
SDE_VER=sde-external-9.38.0-2024-04-18-lin
wget https://downloadmirror.intel.com/823664/${SDE_VER}.tar.xz
tar -xvf ${SDE_VER}.tar.xz
echo ${SDE_VER} >> "$GITHUB_PATH"

elif [ "$TARGET" = "cross-android-arm32" ] || [ "$TARGET" = "cross-android-arm64" ] || [ "$TARGET" = "cross-android-arm64-amalgamation" ]; then
wget -nv https://dl.google.com/android/repository/"$ANDROID_NDK"-linux.zip
unzip -qq "$ANDROID_NDK"-linux.zip
Expand Down
4 changes: 4 additions & 0 deletions src/scripts/ci_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ def known_targets():
'nist',
'no_pcurves',
'sanitizer',
'sde',
'shared',
'static',
'valgrind',
Expand Down Expand Up @@ -243,6 +244,9 @@ def sanitize_kv(some_string):
if target in ['coverage', 'sanitizer', 'fuzzers']:
flags += ['--unsafe-terminate-on-asserts']

if target in ['sde']:
test_prefix = ['sde', '-future', '--']

if target in ['valgrind', 'valgrind-full']:
flags += ['--with-valgrind']

Expand Down

0 comments on commit b2cbdec

Please sign in to comment.