WIP: feat(workflows): add new build workflows for Windows, Linux, and macOS, and remove obsolete build scripts #17

Draft
m wants to merge 141 commits from ozgur/build into main
Showing only changes of commit 25ec55bfc7 - Show all commits

View File

@ -26,26 +26,25 @@ jobs:
ENTITLEMENTS_FILE="LuckyRobots.entitlements" ENTITLEMENTS_FILE="LuckyRobots.entitlements"
else else
echo "Creating default entitlements file as LuckyWorld.entitlements" echo "Creating default entitlements file as LuckyWorld.entitlements"
cat > LuckyWorld.entitlements << 'EOF' # Create entitlements file line by line instead of heredoc
<?xml version="1.0" encoding="UTF-8"?> echo '<?xml version="1.0" encoding="UTF-8"?>' > LuckyWorld.entitlements
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> echo '<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">' >> LuckyWorld.entitlements
<plist version="1.0"> echo '<plist version="1.0">' >> LuckyWorld.entitlements
<dict> echo '<dict>' >> LuckyWorld.entitlements
<key>com.apple.security.cs.allow-jit</key> echo ' <key>com.apple.security.cs.allow-jit</key>' >> LuckyWorld.entitlements
<true/> echo ' <true/>' >> LuckyWorld.entitlements
<key>com.apple.security.cs.allow-unsigned-executable-memory</key> echo ' <key>com.apple.security.cs.allow-unsigned-executable-memory</key>' >> LuckyWorld.entitlements
<true/> echo ' <true/>' >> LuckyWorld.entitlements
<key>com.apple.security.cs.disable-library-validation</key> echo ' <key>com.apple.security.cs.disable-library-validation</key>' >> LuckyWorld.entitlements
<true/> echo ' <true/>' >> LuckyWorld.entitlements
<key>com.apple.security.cs.allow-dyld-environment-variables</key> echo ' <key>com.apple.security.cs.allow-dyld-environment-variables</key>' >> LuckyWorld.entitlements
<true/> echo ' <true/>' >> LuckyWorld.entitlements
<key>com.apple.security.device.audio-input</key> echo ' <key>com.apple.security.device.audio-input</key>' >> LuckyWorld.entitlements
<true/> echo ' <true/>' >> LuckyWorld.entitlements
<key>com.apple.security.device.camera</key> echo ' <key>com.apple.security.device.camera</key>' >> LuckyWorld.entitlements
<true/> echo ' <true/>' >> LuckyWorld.entitlements
</dict> echo '</dict>' >> LuckyWorld.entitlements
</plist> echo '</plist>' >> LuckyWorld.entitlements
EOF
ENTITLEMENTS_FILE="LuckyWorld.entitlements" ENTITLEMENTS_FILE="LuckyWorld.entitlements"
fi fi