在 utils 子包中增加经纬度计算方位角、距离的工具函数,方便直接读取产品后插值到指定经纬度 #150
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: CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash -l {0} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["ubuntu-latest", "windows-latest"] | |
python-version: ["3.9", "3.10", "3.11", "3.12"] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
auto-update-conda: true | |
python-version: ${{ matrix.python-version }} | |
environment-file: environment.yaml | |
activate-environment: build | |
- name: Build | |
run: | | |
python -m pip install --upgrade setuptools | |
python -m pip install --upgrade wheel | |
python -m pip install --upgrade numpy>=2.0 | |
python setup.py bdist_wheel | |
- name: Upload artifact | |
uses: actions/upload-artifact@v4 | |
if: ${{ !github.head_ref }} | |
with: | |
name: ${{ matrix.os }}_${{ matrix.python-version }} | |
path: dist/ |