Skip to content

Commit 98e816f

Browse files
Titus-von-Koellermatthewdouglas
authored andcommitted
fix for missing cpu lib (#1585)
1 parent f0735f9 commit 98e816f

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

.github/workflows/python-package.yml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,15 @@ jobs:
3030
build-shared-libs:
3131
strategy:
3232
matrix:
33-
os: [ubuntu-22.04, macos-latest, windows-latest]
33+
os:
34+
- ubuntu-22.04 # if you change this, also change the pattern in the build-wheels job to reflect this!
35+
- macos-latest
36+
- windows-latest
3437
arch: [x86_64, aarch64]
3538
exclude:
3639
- os: windows-latest # This probably requires arm64 Windows agents
3740
arch: aarch64
38-
- os: ubuntu-latest # Temporary. Takes too long, not ready yet.
41+
- os: ubuntu-22.04 # Temporary. Takes too long, not ready yet.
3942
arch: aarch64
4043
runs-on: ${{ matrix.os }} # One day, we could run them on native agents. Azure supports this now but it's planned only for Q3 2023 for hosted agents
4144
steps:
@@ -61,14 +64,17 @@ jobs:
6164
strategy:
6265
fail-fast: false
6366
matrix:
64-
os: [ubuntu-latest, windows-latest]
67+
os:
68+
# NOTE: The CUDA Docker image is hard-coded in the build script, so the Ubuntu version here only affects the runner, not the build environment:
69+
- ubuntu-22.04
70+
- windows-latest
6571
arch: [x86_64, aarch64]
6672
cuda_version:
6773
["11.7.1", "11.8.0", "12.0.1", "12.1.1", "12.2.2", "12.3.2", "12.4.1", "12.5.1", "12.6.3", "12.8.0"]
6874
exclude:
6975
- os: windows-latest # This probably requires arm64 Windows agents
7076
arch: aarch64
71-
- os: ubuntu-latest # Temporary. Takes too long, not ready yet.
77+
- os: ubuntu-22.04 # Temporary. Takes too long, not ready yet.
7278
arch: aarch64
7379
runs-on: ${{ matrix.os }} # One day, we could run them on native agents. Azure supports this now but it's planned only for Q3 2023 for hosted agents
7480
steps:
@@ -109,7 +115,10 @@ jobs:
109115
- build-shared-libs-cuda
110116
strategy:
111117
matrix:
112-
os: [ubuntu-latest, macos-latest, windows-latest]
118+
os:
119+
- ubuntu-22.04
120+
- macos-latest
121+
- windows-latest
113122
# The specific Python version is irrelevant in this context as we are only packaging non-C extension
114123
# code. This ensures compatibility across Python versions, including Python 3.8, as compatibility is
115124
# dictated by the packaged code itself, not the Python version used for packaging.
@@ -118,7 +127,7 @@ jobs:
118127
exclude:
119128
- os: windows-latest # This probably requires arm64 Windows agents
120129
arch: aarch64
121-
- os: ubuntu-latest # Temporary. Takes too long, not ready yet.
130+
- os: ubuntu-22.04 # Temporary. Takes too long, not ready yet.
122131
arch: aarch64
123132
runs-on: ${{ matrix.os }}
124133
steps:

0 commit comments

Comments
 (0)