Skip to content

Commit

Permalink
gather orca libc in release
Browse files Browse the repository at this point in the history
  • Loading branch information
martinfouilleul committed Mar 11, 2024
1 parent 8647cf2 commit 5eb9ef7
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/create-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ jobs:
- name: Package Windows Release
run: |
mkdir -p orca-sdk-windows/bin
mkdir -p orca-sdk-windows/orca-libc
mkdir -p orca-sdk-windows/resources
mkdir -p orca-sdk-windows/src
# gather fonts
Expand All @@ -49,6 +48,7 @@ jobs:
cd artifacts
tar -xzf orca-runtime-win.tar.gz
cd ..
cp -r artifacts/orca-runtime-win/orca-libc orca-sdk-windows/orca-libc
cp artifacts/orca-runtime-win/bin/runtime.obj orca-sdk-windows/bin
cp artifacts/orca-runtime-win/bin/orca.dll orca-sdk-windows/bin
cp artifacts/orca-runtime-win/bin/orca.dll.lib orca-sdk-windows/bin
Expand All @@ -59,8 +59,6 @@ jobs:
# gather source code
cp -r artifacts/src-win/* orca-sdk-windows/src
# TODO(shaw): gather orca-libc once it is built by ci
# generate checksum file
find orca-sdk-windows -type f -exec sha1sum {} + | LC_ALL=C sort | sha1sum | cut -z -f 1 -d " " > sha1.sum
# create release tarball
Expand All @@ -70,7 +68,6 @@ jobs:
- name: Package Mac x64 Release
run: |
mkdir -p orca-sdk-mac-x64/bin
mkdir -p orca-sdk-mac-x64/orca-libc
mkdir -p orca-sdk-mac-x64/resources
mkdir -p orca-sdk-mac-x64/src
# gather fonts
Expand All @@ -84,6 +81,7 @@ jobs:
cd artifacts
tar -xzf orca-runtime-mac-x64.tar.gz
cd ..
cp -r artifacts/orca-sdk-mac-x64/orca-libc orca-sdk-mac-x64/orca-libc
cp artifacts/orca-runtime-mac-x64/bin/orca_runtime orca-sdk-mac-x64/bin
cp artifacts/orca-runtime-mac-x64/bin/liborca.dylib orca-sdk-mac-x64/bin
cp artifacts/orca-runtime-mac-x64/bin/liborca_wasm.a orca-sdk-mac-x64/bin
Expand All @@ -93,8 +91,6 @@ jobs:
# gather source code
cp -r artifacts/src-mac-x64/* orca-sdk-mac-x64/src
# TODO(shaw): gather orca-libc once it is built by ci
# generate checksum file
find orca-sdk-mac-x64 -type f -exec sha1sum {} + | LC_ALL=C sort | sha1sum | cut -z -f 1 -d " " > sha1.sum
# create release tarball
Expand All @@ -118,6 +114,7 @@ jobs:
cd artifacts
tar -xzf orca-runtime-mac-arm64.tar.gz
cd ..
cp -r artifacts/orca-sdk-mac-arm64/orca-libc orca-sdk-mac-arm64/orca-libc
cp artifacts/orca-runtime-mac-arm64/bin/orca_runtime orca-sdk-mac-arm64/bin
cp artifacts/orca-runtime-mac-arm64/bin/liborca.dylib orca-sdk-mac-arm64/bin
cp artifacts/orca-runtime-mac-arm64/bin/liborca_wasm.a orca-sdk-mac-arm64/bin
Expand All @@ -127,8 +124,6 @@ jobs:
# gather source code
cp -r artifacts/src-mac-arm64/* orca-sdk-mac-arm64/src
# TODO(shaw): gather orca-libc once it is built by ci
# generate checksum file
find orca-sdk-mac-arm64 -type f -exec sha1sum {} + | LC_ALL=C sort | sha1sum | cut -z -f 1 -d " " > sha1.sum
# create release tarball
Expand Down

0 comments on commit 5eb9ef7

Please sign in to comment.