Merge pull request #50 from SCECcode/bbp3d-v0.1 #92
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: bbp-ci | |
on: push | |
jobs: | |
bbp-build-linux: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
python-version: [ "3.7", "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@v4 | |
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 |