use container with oneapi installation
avoids long installation
This commit is contained in:
parent
b63dd758dd
commit
eddeb8b695
|
@ -88,7 +88,9 @@ jobs:
|
||||||
|
|
||||||
intel:
|
intel:
|
||||||
|
|
||||||
runs-on: [ubuntu-22.04]
|
runs-on: ubuntu-22.04
|
||||||
|
container:
|
||||||
|
image: intel/oneapi-hpckit:latest
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
@ -98,16 +100,10 @@ jobs:
|
||||||
|
|
||||||
- name: Intel - Install
|
- name: Intel - Install
|
||||||
run: |
|
run: |
|
||||||
wget -q https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
|
apt-get update --allow-insecure-repositories
|
||||||
sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
|
apt-get install --allow-unauthenticated -y \
|
||||||
rm GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
|
cmake build-essential autoconf libtool \
|
||||||
echo "deb https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
|
zlib1g-dev
|
||||||
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
|
|
||||||
printenv >> $GITHUB_ENV
|
printenv >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: PETSc - Cache download
|
- name: PETSc - Cache download
|
||||||
|
|
Loading…
Reference in New Issue