-
Notifications
You must be signed in to change notification settings - Fork 55
30 lines (27 loc) · 857 Bytes
/
intel.yml
File metadata and controls
30 lines (27 loc) · 857 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: 🐧 Intel
on: [push, pull_request]
concurrency:
group: ${{ github.ref }}-${{ github.head_ref }}-intel
cancel-in-progress: true
jobs:
icx_cxxonly:
name: ICX C++ only
runs-on: ubuntu-22.04
if: github.event.pull_request.draft == false
steps:
- uses: actions/checkout@v6
- name: Install
run: |
sudo .github/workflows/dependencies/install_icx
- name: Build
env: {CXXFLAGS: -Werror}
run: |
set +e; source /opt/intel/oneapi/setvars.sh; set -e
share/openPMD/download_samples.sh build
cmake -S . -B build \
-DCMAKE_C_COMPILER=$(which icx) \
-DCMAKE_CXX_COMPILER=$(which icpx) \
-DopenPMD_USE_PYTHON=OFF \
-DopenPMD_USE_MPI=OFF
cmake --build build --parallel 2
ctest --test-dir build --output-on-failure