mirror of https://github.com/Gnucash/gnucash
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
3 years ago | |
|---|---|---|
| .. | ||
| README.md | 4 years ago | |
| macos_bin.manifest | 3 years ago | |
| macos_include.manifest | 3 years ago | |
| macos_lib.manifest | 3 years ago | |
| macos_share.manifest | 3 years ago | |
| make-macos-deps-tarball.sh | 3 years ago | |
README.md
For creating the macOS dependency tarball required by the Github CI tests.
Requirements:
- Administrator privs on your Mac.
- Project admin privs for https://sourceforge.net/projects/gnucash.
- Jhbuild doesn't cross-compile well so you need a mac with the same architecture as the github VM. Check here for the current configuration. At the time of this writing it's x86_64.
- Xcode or command-line tools (install the latter with
sudo xcode-select -install). To build this tarball you must be running the same or newer macOS version as the Github VM.
Procedure:
- Set up a Gtk-OSX build environment following the GnuCash Quartz Build instructions.
- Retrieve jhbuildrc-custom and put it in ~/.config.
- Set
modules = _modules_depson the appropriate line ofjhbuildrc-custom. - If you are running a newer version of macOS than the Github actions virtual environment change the
setup_SDK()line at the bottom ofjhbuildrc-customtosetup_SDK('11'), substituting the VM's macOS version for '11'. - Create the directory
/Users/runner/and make yourself the owner:
Substituting your own userid for 'me'.sudo mkdir /Users/runner sudo chown me /Users/runner mkdir /Users/runner/gnucash - Run
util/ci/macos-ci-deps/make-macos-deps-tarball.sh gnucash-4.2-mac-dependencies.tar.xzfrom the root of the source directory, changing the tarball's name if appropriate. - Upload the resulting tarball to the Dependencies folder in the Gnucash files section on SourceForge.
- If necessary modify `.github/workflows/mac-tests.yaml to reflect the tarball's URI.