@@ -3,14 +3,15 @@ name: Intel-build
33on :
44 push :
55 branches :
6+ - ' main'
67 - ' master'
78 - ' develop'
89 - ' release/**'
910 tags :
1011 - ' **'
1112 pull_request :
1213 types : [opened,synchronize]
13- paths-ignore :
14+ paths-ignore :
1415 - ' doc/**'
1516
1617concurrency :
@@ -23,32 +24,32 @@ jobs:
2324 fail-fast : false
2425 matrix :
2526 config :
26- - {compiler: "dpcpp", build_type: "Release", name: "intel/dpcpp/release/shared", mixed: "ON"}
27- - {compiler: "icpx", build_type: "Release", name: "intel/icpx/release/shared", mixed: "OFF"}
27+ - {compiler: "dpcpp", build_type: "Release", name: "intel/dpcpp/release/shared", mixed: "ON"}
28+ - {compiler: "icpx", build_type: "Release", name: "intel/icpx/release/shared", mixed: "OFF"}
2829 name : ${{ matrix.config.name }}
2930 runs-on : [gpu_intel]
3031
3132 steps :
32- - name : Checkout the latest code (shallow clone)
33- uses : actions/checkout@v4
33+ - name : Checkout the latest code (shallow clone)
34+ uses : actions/checkout@v4
3435
35- - name : configure
36- run : |
37- source /etc/profile
38- module load intel-oneapi-compilers intel-oneapi-dpl intel-oneapi-mkl cmake
39- mkdir build
40- cd build
41- cmake .. -DCMAKE_INSTALL_PREFIX=install_ginkgo -DCMAKE_CXX_FLAGS="-Wpedantic -ffp-model=precise" -DCMAKE_CXX_COMPILER=${{ matrix.config.compiler }} -DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }} -DGINKGO_MIXED_PRECISION=${{ matrix.config.mixed }} -DGINKGO_BUILD_CUDA=OFF -DGINKGO_BUILD_HIP=OFF -DGINKGO_BUILD_MPI=OFF -DGINKGO_DPCPP_SINGLE_MODE=ON
42- make -j8
43- ONEAPI_DEVICE_SELECTOR=level_zero:gpu ctest -j10 --output-on-failure
44-
45- - name : install
46- run : |
47- source /etc/profile
48- module load intel-oneapi-compilers intel-oneapi-dpl intel-oneapi-mkl cmake
49- cd build
50- SYCL_DEVICE_FILTER=level_zero:gpu make install
51- export GINKGO_PATH="$(pwd)/install_ginkgo/lib"
52- export LIBRARY_PATH=${ICL_INTEL_TBB_ROOT}/lib64:${GINKGO_PATH}:$LIBRARY_PATH
53- export LD_LIBRARY_PATH=${ICL_INTEL_TBB_ROOT}/lib64:${GINKGO_PATH}:$LD_LIBRARY_PATH
54- SYCL_DEVICE_FILTER=level_zero:gpu make test_install
36+ - name : configure
37+ run : |
38+ source /etc/profile
39+ module load intel-oneapi-compilers intel-oneapi-dpl intel-oneapi-mkl cmake
40+ mkdir build
41+ cd build
42+ cmake .. -DCMAKE_INSTALL_PREFIX=install_ginkgo -DCMAKE_CXX_FLAGS="-Wpedantic -ffp-model=precise" -DCMAKE_CXX_COMPILER=${{ matrix.config.compiler }} -DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }} -DGINKGO_MIXED_PRECISION=${{ matrix.config.mixed }} -DGINKGO_BUILD_CUDA=OFF -DGINKGO_BUILD_HIP=OFF -DGINKGO_BUILD_MPI=OFF -DGINKGO_DPCPP_SINGLE_MODE=ON
43+ make -j8
44+ ONEAPI_DEVICE_SELECTOR=level_zero:gpu ctest -j10 --output-on-failure
45+
46+ - name : install
47+ run : |
48+ source /etc/profile
49+ module load intel-oneapi-compilers intel-oneapi-dpl intel-oneapi-mkl cmake
50+ cd build
51+ SYCL_DEVICE_FILTER=level_zero:gpu make install
52+ export GINKGO_PATH="$(pwd)/install_ginkgo/lib"
53+ export LIBRARY_PATH=${ICL_INTEL_TBB_ROOT}/lib64:${GINKGO_PATH}:$LIBRARY_PATH
54+ export LD_LIBRARY_PATH=${ICL_INTEL_TBB_ROOT}/lib64:${GINKGO_PATH}:$LD_LIBRARY_PATH
55+ SYCL_DEVICE_FILTER=level_zero:gpu make test_install
0 commit comments