Skip to content

Commit

Permalink
use oneapi container to avoid re-installing
Browse files Browse the repository at this point in the history
  • Loading branch information
MarDiehl committed Nov 20, 2023
1 parent b63dd75 commit a47baad
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/Fortran.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ jobs:
intel:

runs-on: [ubuntu-22.04]
runs-on: ubuntu-22.04
image: intel/oneapi-hpckit:latest

strategy:
fail-fast: false
Expand All @@ -98,16 +99,9 @@ jobs:

- name: Intel - Install
run: |
wget -q 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
sudo apt-get install \
intel-basekit \
intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic intel-oneapi-compiler-fortran \
intel-oneapi-openmp intel-oneapi-mkl-devel
source /opt/intel/oneapi/setvars.sh
cmake
printenv >> $GITHUB_ENV
- name: PETSc - Cache download
Expand Down

0 comments on commit a47baad

Please sign in to comment.