Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
  • Loading branch information
georg-getz committed Jun 3, 2024
1 parent ee7a2ca commit 7338855
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/dynamic_libs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,25 @@ jobs:
os: macos-latest
target: aarch64-apple-darwin
lib_name: libwasmer_jni.dylib
zip_name: macos-arm.zip

- os_name: linux-x86_64
os: ubuntu-latest
target: x86_64-unknown-linux-gnu
lib_name: libwasmer_jni.so
zip_name: linux-x86_64.zip

- os_name: windows
os: windows-latest
target: x86_64-pc-windows-msvc
lib_name: libwasmer_jni.dll
zip_name: windows.zip

- os_name: macos-x86_64
os: macos-latest
target: x86_64-apple-darwin
lib_name: libwasmer_jni.dylib
zip_name: macos-x86_64.zip

runs-on: ubuntu-latest
steps:
Expand All @@ -51,7 +55,14 @@ jobs:
cargo build --release --target=${{ matrix.platform.target }}
ls target/release/
- name: Archive Release
uses: thedoctor0/zip-release@0.7.5
with:
type: 'zip'
filename: ${{ matrix.platform.zip_name }}
path: ./target/${{ matrix.platform.target }}/release/${{ matrix.platform.lib_name }}

- name: Release
uses: softprops/action-gh-release@v2
with:
files: ./target/${{ matrix.platform.target }}/release/${{ matrix.platform.lib_name }}
files: ${{ matrix.platform.zip_name }}

0 comments on commit 7338855

Please sign in to comment.