Skip to content

move parallel examples to https://github.com/scivision/fortran-parall… #24

move parallel examples to https://github.com/scivision/fortran-parall…

move parallel examples to https://github.com/scivision/fortran-parall… #24

Workflow file for this run

name: oneapi-linux
env:
CC: icx
CXX: icpx
FC: ifx
CTEST_NO_TESTS_ACTION: error
on:
push:
paths:
- "**.f90"
- "**.F90"
- "**.c"
- "**.cpp"
- "**.cmake"
- "**/CMakeLists.txt"
- ".github/workflows/oneapi-linux.yml"
jobs:
linux:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- name: Intel Apt repository
timeout-minutes: 1
run: |
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
rm GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
echo "deb https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
sudo apt-get update
- name: Install Intel oneAPI
timeout-minutes: 5
run: sudo apt-get install intel-oneapi-compiler-fortran intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic ninja-build
- name: Setup Intel oneAPI environment
run: |
source /opt/intel/oneapi/setvars.sh
printenv >> $GITHUB_ENV
- run: cmake --workflow --preset debug
- run: cmake --workflow --preset release