-
Notifications
You must be signed in to change notification settings - Fork 38
40 lines (36 loc) · 1.04 KB
/
compilation.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: build-pyorbit
on: push
jobs:
centos-stream:
runs-on: ubuntu-latest
container:
image: quay.io/centos/centos:stream
steps:
- uses: actions/checkout@v2
- name: Install packages
run: |
yum install -y gcc gcc-c++ make python2 python2-devel mpich mpich-devel zlib-devel fftw-devel
- name: Make
run: |
.github/workflows/build.sh
- name: Test
run: |
.github/workflows/run-tests.sh
ubuntu-2004:
runs-on: ubuntu-latest
container:
image: ubuntu:20.04
steps:
- uses: actions/checkout@v2
- name: Install packages
run: |
pwd
apt update
DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata
apt install -y build-essential python-dev libmpich-dev mpich zlib1g-dev libfftw3-dev
- name: Make
run: |
.github/workflows/build.sh
- name: Test
run: |
.github/workflows/run-tests.sh