Skip to content

Commit

Permalink
Fix building macos
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaBehrens committed Oct 25, 2024
1 parent 4e7aabc commit 7627555
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,13 @@ jobs:
# Install to /opt/v8/self-built
sudo mkdir -p /opt/v8/self-built/{lib,include}
sudo cp out.gn/x64.release/lib*.so out.gn/x64.release/*_blob.bin out.gn/x64.release/icudtl.dat /opt/v8/self-built/lib/
if [[ "${{ runner.os }}" == "macos-latest" ]]; then
LIB_EXT=dylib
else
LIB_EXT=so
fi
sudo cp out.gn/x64.release/lib*.${LIB_EXT} out.gn/x64.release/*_blob.bin out.gn/x64.release/icudtl.dat /opt/v8/self-built/lib/
sudo cp -R include/* /opt/v8/self-built/include/
# Go back to origin
Expand Down

0 comments on commit 7627555

Please sign in to comment.