Skip to content

check CFI_CDESC_T

check CFI_CDESC_T #107

Workflow file for this run

name: oneapi-linux
env:
CC: icx
CXX: icpx
FC: ifx
LINUX_CPP_COMPONENTS: intel-oneapi-compiler-dpcpp-cpp
LINUX_FORTRAN_COMPONENTS: intel-oneapi-compiler-fortran
# https://github.com/oneapi-src/oneapi-ci/blob/master/.github/workflows/build_all.yml
CTEST_NO_TESTS_ACTION: error
CMAKE_BUILD_PARALLEL_LEVEL: 4
CTEST_PARALLEL_LEVEL: 0
CMAKE_BUILD_TYPE: Release
on:
push:
paths:
- "**.c"
- "**.cpp"
- "**.f90"
- "**.F90"
- "**.cmake"
- "**/CMakeLists.txt"
- ".github/workflows/oneapi-linux.yml"
- "!memcheck.cmake"
jobs:
linux:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- name: cache install oneAPI
id: cache-install
uses: actions/cache@v4
with:
path: |
/opt/intel/oneapi
key: install-apt
- name: non-cache install oneAPI
if: steps.cache-install.outputs.cache-hit != 'true'
timeout-minutes: 5
run: |
.github/workflows/oneapi_setup_apt_repo_linux.sh
sudo apt install ${{ env.LINUX_CPP_COMPONENTS }} ${{ env.LINUX_FORTRAN_COMPONENTS }}
- name: Setup Intel oneAPI environment
run: |
source /opt/intel/oneapi/setvars.sh
printenv >> $GITHUB_ENV
- run: cmake --workflow --preset default
- name: exclude unused files from cache
if: steps.cache-install.outputs.cache-hit != 'true'
run: .github/workflows/oneapi_cache_exclude_linux.sh