Skip to content

Commit

Permalink
Backport GitHub workflow upgrade from develop branch
Browse files Browse the repository at this point in the history
  • Loading branch information
molinav committed Oct 24, 2022
1 parent 0d3bd3b commit c20a6a5
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 28 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/basemap-data-hires.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: basemap-data-hires

env:
PKGDIR: "packages/basemap_data_hires"
PYTHONWARNINGS: "ignore:DEPRECATION"
PIP_DISABLE_PIP_VERSION_CHECK: "1"

on:
push:
Expand All @@ -21,7 +23,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
-
name: Upload checkout
uses: actions/upload-artifact@v1
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/basemap-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: basemap-data

env:
PKGDIR: "packages/basemap_data"
PYTHONWARNINGS: "ignore:DEPRECATION"
PIP_DISABLE_PIP_VERSION_CHECK: "1"

on:
push:
Expand All @@ -21,7 +23,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
-
name: Upload checkout
uses: actions/upload-artifact@v1
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/basemap-for-manylinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: basemap-for-manylinux

env:
PKGDIR: "packages/basemap"
PYTHONWARNINGS: "ignore:DEPRECATION"
PIP_DISABLE_PIP_VERSION_CHECK: "1"

on:
push:
Expand All @@ -21,7 +23,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
-
name: Upload checkout
uses: actions/upload-artifact@v1
Expand Down
39 changes: 14 additions & 25 deletions .github/workflows/basemap-for-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: basemap-for-windows

env:
PKGDIR: "packages/basemap"
PYTHONWARNINGS: "ignore:DEPRECATION"
PIP_DISABLE_PIP_VERSION_CHECK: "1"

on:
push:
Expand All @@ -21,7 +23,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
-
name: Upload checkout
uses: actions/upload-artifact@v1
Expand All @@ -47,7 +49,7 @@ jobs:
path: .
-
name: Set Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
architecture: ${{ matrix.arch }}
python-version: ${{ matrix.python-version }}
Expand Down Expand Up @@ -85,23 +87,10 @@ jobs:
build-geos:
strategy:
matrix:
include:
-
arch: "x64"
msvc-toolset: "14.16"
cmake-version: "3.14.7"
-
arch: "x86"
msvc-toolset: "14.16"
cmake-version: "3.13.2"
-
arch: "x64"
msvc-toolset: "9.0"
cmake-version: "3.14.7"
-
arch: "x86"
msvc-toolset: "9.0"
cmake-version: "3.13.2"
arch:
["x64", "x86"]
msvc-toolset:
["9.0", "14.16"]
max-parallel: 4
fail-fast: false
needs: lint
Expand All @@ -121,12 +110,12 @@ jobs:
version: ${{ matrix.msvc-toolset }}
-
name: Set CMake
uses: jwlawson/actions-setup-cmake@v1.9
uses: jwlawson/actions-setup-cmake@v1.13
with:
cmake-version: ${{ matrix.cmake-version }}
cmake-version: "3.14.7"
-
name: Set Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
architecture: ${{ matrix.arch }}
python-version: "3.6"
Expand Down Expand Up @@ -176,7 +165,7 @@ jobs:
version: ${{ env.msvc-toolset }}
-
name: Set Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
architecture: ${{ matrix.arch }}
python-version: ${{ matrix.python-version }}
Expand Down Expand Up @@ -229,7 +218,7 @@ jobs:
steps:
-
name: Set Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
architecture: ${{ matrix.arch }}
python-version: ${{ matrix.python-version }}
Expand Down Expand Up @@ -264,7 +253,7 @@ jobs:
steps:
-
name: Set Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
architecture: ${{ matrix.arch }}
python-version: ${{ matrix.python-version }}
Expand Down

0 comments on commit c20a6a5

Please sign in to comment.