Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
0xOmarA committed Sep 19, 2023
1 parent 89248e7 commit 2739e1e
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -498,19 +498,21 @@ jobs:
black ./interop/python/
- name: Copy Dynamic Libraries
run: |
set -x
set -e
for TARGET_TRIPLE in "aarch64-apple-darwin" "x86_64-apple-darwin" "aarch64-unknown-linux-gnu" "x86_64-unknown-linux-gnu" "x86_64-pc-windows-gnu"
do
for FILE_NAME in "libradix_engine_toolkit_uniffi.so" "libradix_engine_toolkit_uniffi.dylib" "radix_engine_toolkit_uniffi.dll"
do
cp \
./artifacts/radix-engine-toolkit-uniffi-$TARGET_TRIPLE/$FILE_NAME \
./interop/python/radix_engine_toolkit/$TARGET_TRIPLE \
2>/dev/null
done
done
cp \
./artifacts/radix-engine-toolkit-uniffi-aarch64-apple-darwin/libradix_engine_toolkit_uniffi.dylib \
./interop/python/radix_engine_toolkit/aarch64-apple-darwin
cp \
./artifacts/radix-engine-toolkit-uniffi-x86_64-apple-darwin/libradix_engine_toolkit_uniffi.dylib \
./interop/python/radix_engine_toolkit/x86_64-apple-darwin
cp \
./artifacts/radix-engine-toolkit-uniffi-aarch64-unknown-linux-gnu/libradix_engine_toolkit_uniffi.so \
./interop/python/radix_engine_toolkit/aarch64-unknown-linux-gnu
cp \
./artifacts/radix-engine-toolkit-uniffi-x86_64-unknown-linux-gnu/libradix_engine_toolkit_uniffi.so \
./interop/python/radix_engine_toolkit/x86_64-unknown-linux-gnu
cp \
./artifacts/radix-engine-toolkit-uniffi-x86_64-pc-windows-gnu/radix_engine_toolkit_uniffi.dll \
./interop/python/radix_engine_toolkit/x86_64-pc-windows-gnu
- name: Build Package
working-directory: ./interop/python/
run: |
Expand Down

0 comments on commit 2739e1e

Please sign in to comment.