Skip to content

Commit 903a5d6

Browse files
committed
Include libring_python_impl artifact in all platform builds
1 parent 8f4bf6e commit 903a5d6

5 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/alpine_build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ jobs:
6161
- name: Copy Rust artifacts to lib directory
6262
run: |
6363
mkdir -p lib/linux/musl/${{ matrix.arch }}
64-
cp src/rust_src/target/release/libring_python.so lib/linux/musl/${{ matrix.arch }}/
64+
cp src/rust_src/target/release/libring_python.so src/rust_src/target/release/libring_python_impl.so lib/linux/musl/${{ matrix.arch }}/
6565
6666
- name: Upload artifacts
6767
uses: actions/upload-artifact@v4
6868
with:
6969
name: ring-python-linux-musl-${{ matrix.arch }}
70-
path: lib/linux/musl/${{ matrix.arch }}/libring_python.so
70+
path: lib/linux/musl/${{ matrix.arch }}/

.github/workflows/freebsd_build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ jobs:
6464
6565
# Copy artifacts
6666
mkdir -p lib/freebsd/${{ matrix.arch }}
67-
cp src/rust_src/target/release/libring_python.so lib/freebsd/${{ matrix.arch }}/
67+
cp src/rust_src/target/release/libring_python.so src/rust_src/target/release/libring_python_impl.so lib/freebsd/${{ matrix.arch }}/
6868
6969
- name: Upload artifacts
7070
uses: actions/upload-artifact@v4
7171
with:
7272
name: ring-python-freebsd-${{ matrix.arch }}
73-
path: lib/freebsd/${{ matrix.arch }}/libring_python.so
73+
path: lib/freebsd/${{ matrix.arch }}/

.github/workflows/macos_build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ jobs:
5959
- name: Copy Rust artifacts to lib directory
6060
run: |
6161
mkdir -p lib/macos/${{ matrix.arch }}
62-
cp src/rust_src/target/${{ matrix.rust_target }}/release/libring_python.dylib lib/macos/${{ matrix.arch }}/
62+
cp src/rust_src/target/${{ matrix.rust_target }}/release/libring_python.dylib src/rust_src/target/${{ matrix.rust_target }}/release/libring_python_impl.dylib lib/macos/${{ matrix.arch }}/
6363
6464
- name: Upload artifacts
6565
uses: actions/upload-artifact@v4
6666
with:
6767
name: ring-python-macos-${{ matrix.arch }}
68-
path: lib/macos/${{ matrix.arch }}/libring_python.dylib
68+
path: lib/macos/${{ matrix.arch }}/

.github/workflows/ubuntu_build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ jobs:
5858
- name: Copy Rust artifacts to lib directory
5959
run: |
6060
mkdir -p lib/linux/${{ matrix.arch }}
61-
cp src/rust_src/target/release/libring_python.so lib/linux/${{ matrix.arch }}/
61+
cp src/rust_src/target/release/libring_python.so src/rust_src/target/release/libring_python_impl.so lib/linux/${{ matrix.arch }}/
6262
6363
- name: Upload artifacts
6464
uses: actions/upload-artifact@v4
6565
with:
6666
name: ring-python-linux-${{ matrix.arch }}
67-
path: lib/linux/${{ matrix.arch }}/libring_python.so
67+
path: lib/linux/${{ matrix.arch }}/

.github/workflows/windows_build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ jobs:
7171
shell: pwsh
7272
run: |
7373
New-Item -ItemType Directory -Force -Path lib/windows/${{ matrix.arch_name }}
74-
Copy-Item src/rust_src/target/${{ matrix.rust_target }}/release/ring_python.dll lib/windows/${{ matrix.arch_name }}/
74+
Copy-Item src/rust_src/target/${{ matrix.rust_target }}/release/ring_python.dll, src/rust_src/target/${{ matrix.rust_target }}/release/ring_python_impl.dll lib/windows/${{ matrix.arch_name }}/
7575
7676
- name: Upload artifacts
7777
uses: actions/upload-artifact@v4
7878
with:
7979
name: ring-python-windows-${{ matrix.arch_name }}
80-
path: lib/windows/${{ matrix.arch_name }}/ring_python.dll
80+
path: lib/windows/${{ matrix.arch_name }}/

0 commit comments

Comments
 (0)