mirror of
https://github.com/cmosher01/Epple-II.git
synced 2024-12-27 17:29:16 +00:00
mac build
This commit is contained in:
parent
6614ab6423
commit
1a7f6a13ac
36
.github/workflows/publish.yaml
vendored
36
.github/workflows/publish.yaml
vendored
@ -13,7 +13,7 @@ permissions:
|
||||
contents: "write"
|
||||
|
||||
jobs:
|
||||
"publish":
|
||||
"publish-ubuntu":
|
||||
runs-on: "ubuntu-latest"
|
||||
steps:
|
||||
- uses: "actions/checkout@v3"
|
||||
@ -53,3 +53,37 @@ jobs:
|
||||
with:
|
||||
files: |
|
||||
*.deb
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
"publish-macos":
|
||||
runs-on: "macos-latest"
|
||||
steps:
|
||||
- uses: "actions/checkout@v3"
|
||||
|
||||
- run: |
|
||||
set -x
|
||||
HOMEBREW_NO_AUTO_UPDATE=1 brew install autoconf automake xa sdl2
|
||||
./bootstrap
|
||||
./configure
|
||||
make
|
||||
|
||||
- run: |
|
||||
mkdir -p ./pkg/local/bin
|
||||
cp ./src/epple2 ./pkg/local/bin/
|
||||
mkdir -p ./pkg/local/etc/epple2
|
||||
cp ./conf/epple2.conf ./pkg/local/etc/epple2/
|
||||
mkdir -p ./pkg/local/lib/epple2/system
|
||||
cp ./rom/epple2sys.a65 ./pkg/local/lib/epple2/system/
|
||||
mkdir -p ./pkg/local/lib/epple2/cards
|
||||
cp ./rom/stdout.a65 ./pkg/local/lib/epple2/cards/
|
||||
cp ./rom/stdin.a65 ./pkg/local/lib/epple2/cards/
|
||||
cp ./rom/clock.a65 ./pkg/local/lib/epple2/cards/
|
||||
pkgbuild --identifier nu.mine.mosher.$name --root ./pkg/ --install-location /usr $name.pkg
|
||||
|
||||
- uses: "softprops/action-gh-release@v1"
|
||||
with:
|
||||
files: |
|
||||
*.pkg
|
||||
|
Loading…
Reference in New Issue
Block a user