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

[CI/CD] Update and fix actions, add macOS arm64 build #22

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

taysta
Copy link
Contributor

@taysta taysta commented Sep 15, 2024

Updates actions to latest versions. Adds macOS arm64 builds to workflow.

CICD:

  • Uses aptitude to install broken Ubuntu x86 dependencies
  • Updates actions to latest version
  • Uses set runner images instead of latest as the windows-2022 (latest) image does not come with v141_xp toolchain, ubuntu 22.04 has some glibc backwards compatibility issues and macos-latest may eventually become arm runners
  • Updates release action to actively maintained version as old one was abandoned and had depreciated node versions
  • Removes libpng from macos install as it is pre-installed on the runner image
  • Action tested on my repo, runs with no warnings, builds pass and release was successful
  • Upload .tar.gz files for linux and macOS instead of a .tar inside of a .zip

Misc

  • Add JetBrains IDE configuration files to .gitignore

macOS arm64:

  • GitHub Actions now supports arm64 builds, jaMME already supports arm64.
  • Added macOS arm64 action to the workflow.
  • Tested locally on arm64 macOS Sonoma 14.4.1, got it to run by doing the following:
  1. Installed In /MacintoshHD/Users/tayst/Library/Application Support/jaMME/ (replace tayst with your username) with a base folder containing jka assets pk3s, and opened a terminal in the jaMME folder.
  2. In the terminal I ran:
sudo xattr -r -d com.apple.quarantine jamme.app rd-jamme_arm64.dylib mme/uiarm64.dylib mme/jampgamearm64.dylib mme/cgamearm64.dylib
codesign --force --deep --sign - jamme.app
  1. I started the game with the following command in the terminal:
    ./jamme.app/Contents/MacOS/jamme +set fs_game "mme" +set fs_extraGames "japlus japp"

image

@taysta taysta changed the title [CI/CD] Update and fix actions [CI/CD] Update and fix actions, add macOS arm64 build Sep 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant