-
Notifications
You must be signed in to change notification settings - Fork 14
40 lines (31 loc) · 972 Bytes
/
main.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
name: main
on: [push]
jobs:
apps:
runs-on: ubuntu-22.04
strategy:
matrix:
app: [tenes, komega, hphi, mvmc, openmx, dsqss, espresso, respack, lammps, py2dmat, physbo]
fail-fast: false
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: apt
run: |
sudo apt-get update
sudo apt-get -y install openmpi-bin libopenmpi-dev libscalapack-openmpi-dev libfftw3-dev
if [ ${{ matrix.app }} = "respack" ]; then
sudo apt-get -y install quantum-espresso
fi
- name: pip
run: |
python3 -m pip install -U pip
python3 -m pip install numpy scipy toml setuptools typing-extensions
- name: setup
run: sh setup/setup.sh
- name: test
run: sh .github/scripts/test.sh ${{matrix.app}}