Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Npm package #29

Merged
merged 3 commits into from
May 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,17 @@ jobs:
- name: Install osxcross dependencies
run: |
sudo apt-get install -y clang llvm make libc6-dev-i386 libc6-dev-x32 libssl-dev libbz2-dev curl zlib1g-dev libxml2-dev libxslt1-dev libreadline-dev

- name: Set up osxcross
run: |
git clone https://github.com/tpoechtrager/osxcross.git
cd osxcross
./tools/get_dependencies.sh
./tools/gen_sdk_package_pbzx.sh /path/to/MacOSX10.11.sdk.tar.xz
mv MacOSX10.11.sdk.tar.xz tarballs/
wget https://github.com/phracker/MacOSX-SDKs/releases/download/11.3/MacOSX10.11.sdk.tar.xz
tar -xf MacOSX10.11.sdk.tar.xz -C tarballs
UNATTENDED=yes ./build.sh
export PATH=$PATH:/path/to/osxcross/target/bin
env:
PATH: /home/runner/work/osxcross/target/bin:$PATH

- name: Build macOS
env:
Expand Down