This repository has been archived by the owner on Dec 12, 2024. It is now read-only.
generated from TBD54566975/tbd-project-template
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add CI test for ring appearing in the compiled binary (#118)
- Loading branch information
1 parent
13962b8
commit c83e56e
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,6 +35,10 @@ jobs: | |
run: | | ||
cd bindings/tbdex_uniffi/libtargets/aarch64_apple_darwin | ||
./build | ||
if cargo tree | grep -q ring; then | ||
echo "::error title=ring library found in compiled binary::The ring library has unclear licensing and we are not sure if it can be put in the compiled binary" | ||
exit 1 | ||
fi | ||
- name: Upload .dylib | ||
uses: actions/[email protected] | ||
with: | ||
|
@@ -52,6 +56,10 @@ jobs: | |
run: | | ||
cd bindings/tbdex_uniffi/libtargets/x86_64_apple_darwin | ||
./build | ||
if cargo tree | grep -q ring; then | ||
echo "::error title=ring library found in compiled binary::The ring library has unclear licensing and we are not sure if it can be put in the compiled binary" | ||
exit 1 | ||
fi | ||
- name: Upload .dylib | ||
uses: actions/[email protected] | ||
with: | ||
|
@@ -67,6 +75,10 @@ jobs: | |
run: | | ||
cd bindings/tbdex_uniffi/libtargets/x86_64_unknown_linux_gnu | ||
./build | ||
if cargo tree | grep -q ring; then | ||
echo "::error title=ring library found in compiled binary::The ring library has unclear licensing and we are not sure if it can be put in the compiled binary" | ||
exit 1 | ||
fi | ||
- name: Upload .so | ||
uses: actions/[email protected] | ||
with: | ||
|
@@ -82,6 +94,10 @@ jobs: | |
run: | | ||
cd bindings/tbdex_uniffi/libtargets/x86_64_unknown_linux_musl | ||
./build | ||
if cargo tree | grep -q ring; then | ||
echo "::error title=ring library found in compiled binary::The ring library has unclear licensing and we are not sure if it can be put in the compiled binary" | ||
exit 1 | ||
fi | ||
- name: Upload .so | ||
uses: actions/[email protected] | ||
with: | ||
|