[WIP] Use JSON/TOML template for defining openPMD metadata in a config file #4400
Workflow file for this run
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
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@v4 | |
- 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 |