File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 8080 - name : fpm test
8181 run : |
8282 fpm test
83+
84+ intel-build :
85+ runs-on : ubuntu-latest
86+ strategy :
87+ fail-fast : false
88+
89+ env :
90+ FPM_FC : ifort
91+ FC : ifort
92+
93+ steps :
94+ - name : Checkout code
95+ uses : actions/checkout@v3
96+
97+ - name : Add Intel repository (Linux)
98+ run : |
99+ wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
100+ sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
101+ rm GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
102+ echo "deb https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
103+ sudo apt-get update
104+
105+ - name : Install Intel oneAPI compiler (Linux)
106+ run : |
107+ sudo apt-get install intel-oneapi-compiler-fortran
108+
109+ - name : Setup Intel oneAPI environment
110+ run : |
111+ source /opt/intel/oneapi/setvars.sh
112+ printenv >> $GITHUB_ENV
113+
114+ - name : Install fpm
115+ uses : fortran-lang/setup-fpm@v3
116+ with :
117+ fpm-version : ' v0.7.0'
118+
119+ - name : fpm build
120+ run : |
121+ ifort --version
122+ fpm --version
123+ fpm build --profile debug --flag "-warn nointerfaces"
124+
125+ - name : fpm test
126+ run : |
127+ fpm test --profile debug --flag "-warn nointerfaces"
You can’t perform that action at this time.
0 commit comments