forked from skylersaleh/SkyEmu
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (40 loc) · 1.35 KB
/
deploy_mac.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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/*