Skip to content

Commit

Permalink
CI: Switch to testing with ifx
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhollas committed Oct 24, 2024
1 parent 0a5d9f3 commit 2299df0
Showing 1 changed file with 10 additions and 27 deletions.
37 changes: 10 additions & 27 deletions .github/workflows/gfortran.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,42 +121,25 @@ jobs:
fail_ci_if_error: true

intel_build:
name: Intel OneAPI build
runs-on: ubuntu-20.04
env:
FC: mpiifort
# Use GCC for C++ code to speed up the build
#CC: icc
#CXX: icpc
APT_PACKAGES: >-
intel-oneapi-compiler-fortran
intel-oneapi-mpi
intel-oneapi-mpi-devel
# intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic
name: Intel ifx build
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2

- name: Add Intel repository
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 compiler
run: |
sudo apt-get install ${{ env.APT_PACKAGES }}
source /opt/intel/oneapi/setvars.sh
printenv >> $GITHUB_ENV
- uses: fortran-lang/setup-fortran@v1
id: setup-fortran
with:
compiler: ifx
version: '2024.1'

- name: Build ABIN
run: ./configure --mpi "" && make
run: ./configure && make
env:
FFLAGS: -O0 -fopenmp -warn all,noextern
FFLAGS: -O0 -qopenmp
#FFLAGS: -O0 -qopenmp #-warn all,noextern

- name: Run End-to-End tests
run: make e2etest
Expand Down

0 comments on commit 2299df0

Please sign in to comment.