-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: update action versions; update wheel workflow
- Loading branch information
1 parent
c93217f
commit aa4e36d
Showing
1 changed file
with
12 additions
and
20 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 |
---|---|---|
|
@@ -20,10 +20,10 @@ jobs: | |
fail-fast: false | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up Python 3.9 | ||
uses: actions/setup-python@v2 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.9 | ||
|
||
|
@@ -45,33 +45,25 @@ jobs: | |
cython-lint src/pykrige/ | ||
build_wheels: | ||
name: wheels for ${{ matrix.cfg.os }} / ${{ matrix.cfg.arch }} | ||
runs-on: ${{ matrix.cfg.os }} | ||
name: wheels for ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
cfg: | ||
- { os: ubuntu-latest, arch: x86_64 } | ||
- { os: ubuntu-latest, arch: i686 } | ||
- { os: windows-latest, arch: AMD64 } | ||
- { os: windows-latest, arch: x86 } | ||
- { os: macos-latest, arch: x86_64 } | ||
- { os: macos-latest, arch: arm64 } | ||
- { os: macos-latest, arch: universal2 } | ||
# macos-13 is an intel runner, macos-14 is apple silicon | ||
os: [ubuntu-latest, windows-latest, macos-13, macos-14] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: '0' | ||
|
||
- name: Build wheels | ||
uses: pypa/[email protected] | ||
env: | ||
CIBW_ARCHS: ${{ matrix.cfg.arch }} | ||
uses: pypa/[email protected] | ||
with: | ||
output-dir: dist | ||
|
||
- uses: actions/upload-artifact@v2 | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
path: ./dist/*.whl | ||
|
||
|
@@ -80,12 +72,12 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: '0' | ||
|
||
- name: Set up Python 3.9 | ||
uses: actions/setup-python@v2 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.9 | ||
|
||
|
@@ -107,7 +99,7 @@ jobs: | |
# PEP 517 package builder from pypa | ||
python -m build --sdist --outdir dist . | ||
- uses: actions/upload-artifact@v2 | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
path: dist/*.tar.gz | ||
|
||
|