Skip to content

Commit 838e439

Browse files
committed
Fetching filename and uri from matrix instead of hardcoding in step
1 parent cf81787 commit 838e439

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

.github/workflows/build_python_deps_linux.yml

+25-25
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,25 @@ jobs:
1111
strategy:
1212
matrix:
1313
libraries: [
14-
"https://files.pythonhosted.org/packages/78/63/66c03eb51f0d241862083deb3f17ab5fce08cf6b347db7887bcb4d1a194e/cryptography-42.0.7.tar.gz",
15-
"https://files.pythonhosted.org/packages/6b/b0/e595ce2a2527e169c3bcd6c33d2473c1918e0b7f6826a043ca1245dd4e5b/crcmod-1.7.tar.gz",
16-
"https://files.pythonhosted.org/packages/d2/e5/7e22ca7201a6b1040aae7787d0fe6cd970311da376a86fdafa5182be1d1b/protobuf-5.26.1.tar.gz",
17-
"https://files.pythonhosted.org/packages/90/c7/6dc0a455d111f68ee43f27793971cf03fe29b6ef972042549db29eec39a2/psutil-5.9.8.tar.gz",
18-
"https://files.pythonhosted.org/packages/86/15/8473774dfdd0fa901cfb1ad0d590c5a3e6a7c5906dc23b47619ccfc7fe62/grpcio_tools-1.63.0.tar.gz",
19-
"https://files.pythonhosted.org/packages/0c/2a/23943e19b4bbbdad60a9d881e44cd53bb48b31c7419ebb7b983edfbbb708/grpcio-1.63.0.tar.gz",
20-
"https://files.pythonhosted.org/packages/32/d1/6c27d3ec3b91d8c7804a4298538024eb7919551e97cca6eecb26c83ae9fa/selenium-4.20.0.tar.gz",
21-
"https://files.pythonhosted.org/packages/cd/e5/af35f7ea75cf72f2cd079c95ee16797de7cd71f29ea7c68ae5ce7be1eda0/PyYAML-6.0.1.tar.gz",
22-
"https://files.pythonhosted.org/packages/87/5b/aae44c6655f3801e81aa3eef09dbbf012431987ba564d7231722f68df02d/MarkupSafe-2.1.5.tar.gz",
23-
"https://files.pythonhosted.org/packages/ca/e9/0b36987abbcd8c9210c7b86673d88ff0a481b4610630710fb80ba5661356/bcrypt-4.1.3.tar.gz",
24-
"https://files.pythonhosted.org/packages/68/ce/95b0bae7968c65473e1298efb042e10cafc7bafc14d9e4f154008241c91d/cffi-1.16.0.tar.gz",
25-
"https://files.pythonhosted.org/packages/63/09/c1bc53dab74b1816a00d8d030de5bf98f724c52c1635e07681d312f20be8/charset-normalizer-3.3.2.tar.gz",
26-
"https://files.pythonhosted.org/packages/c4/91/e2df406fb4efacdf46871c25cde65d3c6ee5e173b7e5a4547a47bae91920/distlib-0.3.8.tar.gz",
27-
"https://files.pythonhosted.org/packages/ae/ed/aefcc8cd0ba62a0560c3c18c33925362d46c6075480bfa4df87b28e169a9/docutils-0.21.2.tar.gz",
28-
"https://files.pythonhosted.org/packages/2c/f0/f02e2d150d581a294efded4020094a371bbab42423fe78625ac18854d89b/lazy-object-proxy-1.10.0.tar.gz",
29-
"https://files.pythonhosted.org/packages/1d/b2/31537cf4b1ca988837256c910a668b553fceb8f069bedc4b1c826024b52c/pycparser-2.22.tar.gz",
30-
"https://files.pythonhosted.org/packages/a7/22/27582568be639dfe22ddb3902225f91f2f17ceff88ce80e4db396c8986da/PyNaCl-1.5.0.tar.gz",
31-
"https://files.pythonhosted.org/packages/f9/7e/a424029f350aa8078b75fd0d360a787a273ca753a678d1104c5fa4f3072a/typed_ast-1.5.5.tar.gz",
32-
"https://files.pythonhosted.org/packages/95/4c/063a912e20bcef7124e0df97282a8af3ff3e4b603ce84c481d6d7346be0a/wrapt-1.16.0.tar.gz"
14+
["https://files.pythonhosted.org/packages/78/63/66c03eb51f0d241862083deb3f17ab5fce08cf6b347db7887bcb4d1a194e/cryptography-42.0.7.tar.gz", "cryptography-42.0.7.tar.gz"],
15+
["https://files.pythonhosted.org/packages/6b/b0/e595ce2a2527e169c3bcd6c33d2473c1918e0b7f6826a043ca1245dd4e5b/crcmod-1.7.tar.gz", "crcmod-1.7.tar.gz"],
16+
["https://files.pythonhosted.org/packages/d2/e5/7e22ca7201a6b1040aae7787d0fe6cd970311da376a86fdafa5182be1d1b/protobuf-5.26.1.tar.gz", "protobuf-5.26.1.tar.gz"],
17+
["https://files.pythonhosted.org/packages/90/c7/6dc0a455d111f68ee43f27793971cf03fe29b6ef972042549db29eec39a2/psutil-5.9.8.tar.gz", "psutil-5.9.8.tar.gz"],
18+
["https://files.pythonhosted.org/packages/86/15/8473774dfdd0fa901cfb1ad0d590c5a3e6a7c5906dc23b47619ccfc7fe62/grpcio_tools-1.63.0.tar.gz", "grpcio_tools-1.63.0.tar.gz"],
19+
["https://files.pythonhosted.org/packages/0c/2a/23943e19b4bbbdad60a9d881e44cd53bb48b31c7419ebb7b983edfbbb708/grpcio-1.63.0.tar.gz", "grpcio-1.63.0.tar.gz"],
20+
["https://files.pythonhosted.org/packages/32/d1/6c27d3ec3b91d8c7804a4298538024eb7919551e97cca6eecb26c83ae9fa/selenium-4.20.0.tar.gz", "selenium-4.20.0.tar.gz"],
21+
["https://files.pythonhosted.org/packages/cd/e5/af35f7ea75cf72f2cd079c95ee16797de7cd71f29ea7c68ae5ce7be1eda0/PyYAML-6.0.1.tar.gz", "PyYAML-6.0.1.tar.gz"],
22+
["https://files.pythonhosted.org/packages/87/5b/aae44c6655f3801e81aa3eef09dbbf012431987ba564d7231722f68df02d/MarkupSafe-2.1.5.tar.gz", "MarkupSafe-2.1.5.tar.gz"],
23+
["https://files.pythonhosted.org/packages/ca/e9/0b36987abbcd8c9210c7b86673d88ff0a481b4610630710fb80ba5661356/bcrypt-4.1.3.tar.gz", "bcrypt-4.1.3.tar.gz"],
24+
["https://files.pythonhosted.org/packages/68/ce/95b0bae7968c65473e1298efb042e10cafc7bafc14d9e4f154008241c91d/cffi-1.16.0.tar.gz", "cffi-1.16.0.tar.gz"],
25+
["https://files.pythonhosted.org/packages/63/09/c1bc53dab74b1816a00d8d030de5bf98f724c52c1635e07681d312f20be8/charset-normalizer-3.3.2.tar.gz", "charset-normalizer-3.3.2.tar.gz"],
26+
["https://files.pythonhosted.org/packages/c4/91/e2df406fb4efacdf46871c25cde65d3c6ee5e173b7e5a4547a47bae91920/distlib-0.3.8.tar.gz", "distlib-0.3.8.tar.gz"],
27+
["https://files.pythonhosted.org/packages/ae/ed/aefcc8cd0ba62a0560c3c18c33925362d46c6075480bfa4df87b28e169a9/docutils-0.21.2.tar.gz", "docutils-0.21.2.tar.gz"],
28+
["https://files.pythonhosted.org/packages/2c/f0/f02e2d150d581a294efded4020094a371bbab42423fe78625ac18854d89b/lazy-object-proxy-1.10.0.tar.gz", "lazy-object-proxy-1.10.0.tar.gz"],
29+
["https://files.pythonhosted.org/packages/1d/b2/31537cf4b1ca988837256c910a668b553fceb8f069bedc4b1c826024b52c/pycparser-2.22.tar.gz", "pycparser-2.22.tar.gz"],
30+
["https://files.pythonhosted.org/packages/a7/22/27582568be639dfe22ddb3902225f91f2f17ceff88ce80e4db396c8986da/PyNaCl-1.5.0.tar.gz", "PyNaCl-1.5.0.tar.gz"],
31+
["https://files.pythonhosted.org/packages/f9/7e/a424029f350aa8078b75fd0d360a787a273ca753a678d1104c5fa4f3072a/typed_ast-1.5.5.tar.gz", "typed_ast-1.5.5.tar.gz"],
32+
["https://files.pythonhosted.org/packages/95/4c/063a912e20bcef7124e0df97282a8af3ff3e4b603ce84c481d6d7346be0a/wrapt-1.16.0.tar.gz", "wrapt-1.16.0.tar.gz"],
3333
]
3434
python_versions: [
3535
["3.7","cp37-*"],
@@ -40,10 +40,10 @@ jobs:
4040
["3.12","cp312-*"],
4141
]
4242
wheel_combinations: [
43-
#["ubuntu-latest", "x86_64"],
43+
["ubuntu-latest", "x86_64"],
4444
["windows-latest", "AMD64"],
45-
#["macos13", "x86_64"],
46-
#["macos14", "x86_64"],
45+
["macos13", "x86_64"],
46+
["macos14", "x86_64"],
4747
]
4848
fail-fast: false
4949

@@ -59,16 +59,16 @@ jobs:
5959
- name: Download and Untar File - Windows
6060
if: matrix.wheel_combinations[0] == 'windows-latest'
6161
run: |
62-
Invoke-WebRequest -Uri "https://files.pythonhosted.org/packages/0c/2a/23943e19b4bbbdad60a9d881e44cd53bb48b31c7419ebb7b983edfbbb708/grpcio-1.63.0.tar.gz" -OutFile "grpcio-1.63.0.tar.gz"
62+
Invoke-WebRequest -Uri "${{ matrix.libraries[0] }}" -OutFile "grpcio-1.63.0.tar.gz"
6363
6464
- name: Download and Untar File - Unix
6565
if: matrix.wheel_combinations[0] != 'windows-latest'
6666
run: |
67-
wget -O grpcio-1.63.0.tar.gz https://files.pythonhosted.org/packages/0c/2a/23943e19b4bbbdad60a9d881e44cd53bb48b31c7419ebb7b983edfbbb708/grpcio-1.63.0.tar.gz
67+
wget -O grpcio-1.63.0.tar.gz ${{ matrix.libraries[0] }}
6868
6969
- name: Build wheels
7070
run: |
71-
python -m cibuildwheel grpcio-1.63.0.tar.gz --output-dir wheelhouse
71+
python -m cibuildwheel ${{ matrix.libraries[1] }} --output-dir wheelhouse
7272
# to supply options, put them in 'env', like:
7373
env:
7474
CIBW_ARCHS: ${{ matrix.wheel_combinations[1] }}

0 commit comments

Comments
 (0)