-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (46 loc) · 1.22 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: CI
on:
push:
branches: [ "main" ]
pull_request:
permissions:
contents: read
env:
FORCE_COLOR: 1
jobs:
intel_build:
name: Intel OneAPI build
runs-on: ubuntu-20.04
env:
FC: mpiifort
APT_PACKAGES: >-
intel-oneapi-compiler-fortran
intel-oneapi-mpi
intel-oneapi-mpi-devel
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Install fftw
run: |
ls
ls ${{ github.workspace }}
cd fftw; ls
tar -xf fftw/fftw.tar.gz
ls
# cd fftw/fftw
# bash compile.sh
# - 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
# - name: Build ABIN
# run: cd src/; make clean && make