This is a repository to host CI jobs to build dependencies for OpenMW via vcpkg to be cached as binary artifacts at https://gitlab.com/OpenMW/openmw-deps.
Jobs start automatically on push to master and automatically push archived artifacts to another git repository.
You can test the repo is working on your own fork using a deploy key and a gpg key you generate.
To make this work properly multiple secrets have to be configured:
SSH_PRIVATE_KEYwith private SSH key allowed to push changes to repository specified viaPUSH_URLvariable (e.g. generated byssh-keygen).- You should use a deploy key setup on your fork of https://gitlab.com/OpenMW/openmw-dep
GPG_PRIVATE_KEYwith private GPG key to sign commits with GPG signature (e.g. generated withgpg --full-generate-key).GPG_PRIVATE_KEY_PASSPHRASEa passphrase for theGPG_PRIVATE_KEYto make it possible to use the GPG key (e.g. the value used duringgpg --full-generate-key).- You can generate a gpg key with the git author information used in CI. It does not need to be associated with any account.
Also the following variable has to be set:
PUSH_URLwith target SSH-based URL forgit pushcommand (e.g.git@gitlab.com:OpenMW/openmw-deps.gitor your fork).
Any pushes should create a branch/commit on the openmw-dep repo. However, the manifest file links will not work. You will need to create a tag/release for that to work.
You need to install the following: brew install autoconf autoconf-archive automake
vcpkg install --overlay-ports=ports --overlay-triplets=triplets --triplet arm64-osx-dynamic --host-triplet arm64-osx-dynamicvcpkg export --x-all-installed --raw --output vcpkg-macos-test --output-dir DIRECTORY
You will need to change the variables towards the top of the OpenMW before_script.macos.sh file to:
DEPENDENCIES_ROOT_PATH="/DIRECTORY/vcpkg-macos-test"