-
Notifications
You must be signed in to change notification settings - Fork 17
148 lines (118 loc) · 3.52 KB
/
compilation.yml
File metadata and controls
148 lines (118 loc) · 3.52 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
name: build-pyorbit
on:
pull_request:
branches:
- main
push:
tags:
- '*'
branches:
- '*'
jobs:
apple-silicon:
runs-on: macos-14
steps:
- name: Install packages
run: |
brew reinstall pkg-config fftw
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build
run: |
.github/workflows/pip-build.sh
- name: Test
run: |
.github/workflows/pip-tests.sh
- name: Print Versions
run: |
.github/workflows/pip-versions.sh
centos-stream:
runs-on: ubuntu-latest
container:
image: quay.io/centos/centos:stream9
steps:
- name: Install packages
run: |
dnf group install -y "Development Tools"
dnf install -y python3-devel fftw3-devel
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build
run: |
.github/workflows/pip-build.sh
- name: Test
run: |
.github/workflows/pip-tests.sh
- name: Print Versions
run: |
.github/workflows/pip-versions.sh
ubuntu:
runs-on: ubuntu-latest
container:
image: ubuntu:latest
steps:
- name: Install packages
run: |
apt-get update -y
apt-get install -y build-essential python3 libfftw3-dev python3-venv libpython3-dev pkg-config git
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build
run: |
.github/workflows/pip-build.sh
- name: Test
run: |
.github/workflows/pip-tests.sh
- name: Print Versions
run: |
.github/workflows/pip-versions.sh
conda:
runs-on: ubuntu-latest
container:
image: ubuntu:latest
steps:
- name: Install Conda
run: |
apt update -y
apt install -y curl gpg git build-essential
curl https://repo.anaconda.com/pkgs/misc/gpgkeys/anaconda.asc | gpg --dearmor > conda.gpg
install -o root -g root -m 644 conda.gpg /usr/share/keyrings/conda-archive-keyring.gpg
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/conda-archive-keyring.gpg] https://repo.anaconda.com/pkgs/misc/debrepo/conda stable main" > /etc/apt/sources.list.d/conda.list
apt update -y
apt install -y conda
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build
run: |
.github/workflows/conda-build.sh
- name: Test
run: |
.github/workflows/conda-tests.sh
- name: Print Versions
run: |
.github/workflows/conda-versions.sh
mpich:
runs-on: ubuntu-latest
container:
image: quay.io/centos/centos:stream9
steps:
- name: Install packages
run: |
dnf group install -y "Development Tools"
dnf install -y python3-devel fftw3-devel mpich-devel hwloc-devel
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build
run: |
.github/workflows/pip-build-mpich.sh
- name: Test
run: |
.github/workflows/pip-tests-mpi.sh
- name: Print Versions
run: |
.github/workflows/pip-versions.sh