This repository has been archived by the owner on Sep 16, 2024. It is now read-only.
Even more stuff #335
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build macOS | |
on: [push] | |
jobs: | |
build-and-deploy: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: 'true' | |
- name: Build | |
run: | | |
cmake -B build | |
cmake --build build --config Release | |
- name: Build DMG | |
run: | | |
cd build | |
brew install graphicsmagick imagemagick | |
pip install setuptools | |
npm install --global create-dmg | |
create-dmg --dmg-title=hydra 'hydra.app' || true | |
mv hydra*.dmg "hydra.dmg" | |
- name: GH Release 🚀 | |
uses: actions/upload-artifact@v2 | |
with: | |
name: MacOSRelease | |
path: build/hydra.dmg |