Skip to content

Commit

Permalink
Add libproc.h to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
CRKatri committed Aug 14, 2024
1 parent 782fb5c commit f4de405
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,11 @@ jobs:
gh release download -R ProcursusTeam/ldid -p ldid_macosx_x86_64
install -m755 ldid_macosx_x86_64 ldid
echo "${PWD}" >> $GITHUB_PATH
mkdir -p ${HOME}/include
mkdir -p ${HOME}/include/sys
ln -s $(xcrun -sdk macosx --show-sdk-path)/usr/include/xpc ${HOME}/include/xpc
ln -s $(xcrun -sdk macosx --show-sdk-path)/usr/include/launch.h ${HOME}/include/launch.h
curl -L https://github.com/apple-oss-distributions/xnu/raw/xnu-10002.41.9/libsyscall/wrappers/libproc/libproc.h -o ${HOME}/include/libproc.h
curl -L https://github.com/apple-oss-distributions/xnu/raw/xnu-10002.41.9/bsd/sys/proc_info.h -o ${HOME}/include/sys/proc_info.h
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down

0 comments on commit f4de405

Please sign in to comment.