File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 runs-on : macos-26
99 steps :
1010 - name : Checkout
11- uses : actions/checkout@v3
11+ uses : actions/checkout@v4
1212 with :
1313 submodules : recursive
1414
Original file line number Diff line number Diff line change @@ -50,13 +50,22 @@ prepare_packages: deps
5050 git -C "$$ALT_SIGN_CHECKOUT" submodule sync --recursive; \
5151 git -C "$$ALT_SIGN_CHECKOUT" submodule update --init --recursive; \
5252 fi; \
53+ ALT_SIGN_LIBCNARY_NODE_H="$$ALT_SIGN_CHECKOUT/Dependencies/ldid/libplist/libcnary/include/node.h"; \
54+ ALT_SIGN_LIBPLIST_NODE_H="$$ALT_SIGN_CHECKOUT/Dependencies/ldid/libplist/src/node.h"; \
55+ if [ -f "$$ALT_SIGN_LIBCNARY_NODE_H" ] && [ ! -e "$$ALT_SIGN_LIBPLIST_NODE_H" ]; then \
56+ ln -sf ../libcnary/include/node.h "$$ALT_SIGN_LIBPLIST_NODE_H"; \
57+ fi; \
5358 ALT_SIGN_OPENSSL_XCFRAMEWORK="$$(find "$(SOURCE_PACKAGES)" \( -path "*/Dependencies/OpenSSL.xcframework" -o -path "*/OpenSSL.xcframework" \) -type d | head -n 1)"; \
5459 if [ -z "$$ALT_SIGN_OPENSSL_XCFRAMEWORK" ]; then \
5560 echo "Expected AltSign OpenSSL.xcframework after package resolution." >&2; \
5661 exit 1; \
5762 fi; \
5863 ALT_SIGN_LIBPLIST_SRC_DIR="$(SOURCE_PACKAGES)/checkouts/AltSign/Dependencies/ldid/libplist/src"; \
5964 if [ -d "$$ALT_SIGN_LIBPLIST_SRC_DIR" ]; then \
65+ if [ ! -f "$$ALT_SIGN_LIBPLIST_NODE_H" ]; then \
66+ echo "Expected AltSign node.h after submodule initialization." >&2; \
67+ exit 1; \
68+ fi; \
6069 find "$$ALT_SIGN_LIBPLIST_SRC_DIR" -name '*.cpp' -exec perl -0pi -e 's/\b([A-Za-z_][A-Za-z0-9_]*)& \1::operator=\((?:PList::)?\1& ([A-Za-z_][A-Za-z0-9_]*)\)/$$1\& $$1::operator=(const $$1\& $$2)/g' {} +; \
6170 else \
6271 echo "Expected AltSign libplist sources after submodule initialization." >&2; \
You can’t perform that action at this time.
0 commit comments