mirror of
https://github.com/cmosher01/Epple-II.git
synced 2024-06-01 19:41:35 +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"
|
contents: "write"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
"publish":
|
"publish-ubuntu":
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
steps:
|
steps:
|
||||||
- uses: "actions/checkout@v3"
|
- uses: "actions/checkout@v3"
|
||||||
|
@ -53,3 +53,37 @@ jobs:
|
||||||
with:
|
with:
|
||||||
files: |
|
files: |
|
||||||
*.deb
|
*.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