I also hate iOS #329
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: Configure & Build 🔧 | |
run: | | |
mkdir build | |
cd build | |
cmake .. && cmake --build . | |
- name: Build DMG | |
run: | | |
cd build | |
brew install graphicsmagick imagemagick | |
pip install setuptools | |
npm install --global create-dmg | |
create-dmg --dmg-title=SkyEmu 'bin/SkyEmu.app' || true | |
ls | |
mv SkyEmu*.dmg "SkyEmu.dmg" | |
- name: GH Release 🚀 | |
# You may pin to the exact commit or the version. | |
uses: actions/upload-artifact@v2 | |
with: | |
name: MacOSRelease | |
path: build/SkyEmu.dmg | |
#uses: softprops/[email protected] | |
#with: | |
# # Note-worthy description of changes in release | |
# # body: # optional | |
# # Path to load note-worthy description of changes in release from | |
# # body_path: # optional | |
# # Gives the release a custom name. Defaults to tag name | |
# name: LinuxRelease | |
# # Identify the release as a prerelease. Defaults to false | |
# prerelease: True | |
# # Newline-delimited list of path globs for asset files to upload | |
# files: build/bin/* | |