-
Notifications
You must be signed in to change notification settings - Fork 29
35 lines (33 loc) · 947 Bytes
/
bbp-ci.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
name: bbp-ci
on: push
jobs:
bbp-build-linux:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.7.6", "3.8", "3.9", "3.10" ]
steps:
- name: set BBP_DIR
run: echo "BBP_BASE_DIR=$RUNNER_WORKSPACE/bbp" >> $GITHUB_ENV
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: configure Python
run: |
sudo apt-get update
sudo apt-get install g++-8 -y
sudo apt-get install gfortran-8 -y
pip install numpy
pip install scipy
pip install matplotlib
pip install pyproj
pip install numba
- name: checkout Broadband Platform
uses: actions/checkout@v3
- name: build bbp
run: ./.github/scripts/bbp-build-ci.sh
shell: bash
- name: test bbp
run: ./.github/scripts/bbp-test-ci.sh
shell: bash