From 369c5dc6211b4916e51a6c6a66643e059ab3550f Mon Sep 17 00:00:00 2001 From: HyukWoo Park Date: Tue, 19 Nov 2024 13:46:53 +0900 Subject: [PATCH] Update Signed-off-by: HyukWoo Park --- .github/workflows/release.yml | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 14d26b30e..a17073927 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -160,9 +160,11 @@ jobs: mkdir -p deploy-x64 cp out/x86/escargot ./deploy-x86/. cp out/x64/escargot ./deploy-x64/. - ldd deploy-x86/escargot | grep "=>" | awk '{print $3}' | xargs -I '{}' cp '{}' deploy-x86/ - ldd deploy-x64/escargot | grep "=>" | awk '{print $3}' | xargs -I '{}' cp '{}' deploy-x64/ + ldd deploy-x86/escargot | grep "icu" | grep "=>" | awk '{print $3}' | xargs -I '{}' cp '{}' deploy-x86/ + ldd deploy-x64/escargot | grep "icu" | grep "=>" | awk '{print $3}' | xargs -I '{}' cp '{}' deploy-x64/ # run test + ldd deploy-x86/escargot + ldd deploy-x64/escargot $RUNNER --engine="$GITHUB_WORKSPACE/deploy-x86/escargot" new-es $RUNNER --engine="$GITHUB_WORKSPACE/deploy-x64/escargot" new-es # zip results @@ -174,6 +176,25 @@ jobs: name: build-artifact-linux path: escargot-linux-*.zip + check-release: + needs: [build-mac64] + runs-on: macos-12 + steps: + - name: Download build artifacts + uses: actions/download-artifact@v4 + with: + path: artifacts + pattern: build-artifact-mac64 + merge-multiple: true + - name: test + run: | + cd artifacts + ls + unzip escargot-mac64.zip + otool -L escargot + echo "print('hello world');" > test.js + ./escargot test.js + update-release: needs: [build-mac64, build-mac64arm, build-windows, build-linux] runs-on: ubuntu-latest