modified the code to pass tests with ifx and nvfortran. Strangely, co… #26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run ifx in Docker tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Pull Intel oneAPI Docker image | |
run: docker pull intel/oneapi-hpckit | |
- name: Run Intel oneAPI container and compile code | |
run: | | |
docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace intel/oneapi-hpckit /bin/bash -c " | |
source /opt/intel/oneapi/setvars.sh > /dev/null; | |
ifx --help; | |
cmake --version; | |
mkdir build | |
cd build | |
FC=ifx cmake .. | |
make | |
ctest | |
" | |