-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #159 from akrherz/github_actions
migrate Linux x64 CI build to Github Actions
- Loading branch information
Showing
3 changed files
with
42 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Install and Test | ||
on: [push, pull_request] | ||
jobs: | ||
build-linux: | ||
name: Python (${{ matrix.python-version }}) | ||
runs-on: ubuntu-latest | ||
env: | ||
PROJ_DIR: /usr | ||
PROJ_LIB: /usr/share/proj | ||
strategy: | ||
matrix: | ||
python-version: ["2.7", "3.7", "3.8"] | ||
steps: | ||
|
||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install Ubuntu Dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install libproj-dev proj-bin libeccodes-dev | ||
- name: Update Pip | ||
run: | | ||
python -m pip install --upgrade pip | ||
- name: Install pygrib dependencies via pip | ||
run: | | ||
python -m pip install cython numpy "pyproj<3.0.0" | ||
- name: Install pygrib | ||
run: | | ||
python setup.py install | ||
- name: Test | ||
run: | | ||
python test.py |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,6 @@ dist: focal | |
sudo: false | ||
|
||
arch: | ||
- amd64 | ||
- ppc64le | ||
|
||
addons: | ||
|
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