This repository has been archived by the owner on Sep 16, 2024. It is now read-only.
The big rewrite start #277
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,pull_request] | |
jobs: | |
build-and-deploy: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Build | |
run: | | |
cmake -B build | |
cmake --build build -GNinja --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 |