Skip to content

Commit

Permalink
Add CI for Intel Fortram
Browse files Browse the repository at this point in the history
  • Loading branch information
zoziha committed Feb 2, 2023
1 parent fe23cc0 commit 84b9ead
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 1 deletion.
44 changes: 44 additions & 0 deletions .github/workflows/intel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: intel

on: [push, pull_request]

jobs:
intel-build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]

env:
FC: ifort

steps:
- name: Checkout code
uses: actions/checkout@v3

- uses: actions/setup-python@v1
with:
python-version: '3.x'

- 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 intel-oneapi-compiler-fortran
source /opt/intel/oneapi/setvars.sh
printenv >> $GITHUB_ENV
- name: Install meson
run: pip3 install meson ninja

- name: meson build
run: |
meson setup _build
meson test -C _build
2 changes: 1 addition & 1 deletion .github/workflows/msys2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: msys2
on: [push, pull_request]

jobs:
build:
msys2-build:
runs-on: windows-latest
defaults:
run:
Expand Down

0 comments on commit 84b9ead

Please sign in to comment.