Skip to content

Commit

Permalink
mac build
Browse files Browse the repository at this point in the history
  • Loading branch information
cmosher01 committed Oct 31, 2022
1 parent 6614ab6 commit 1a7f6a1
Showing 1 changed file with 35 additions and 1 deletion.
36 changes: 35 additions & 1 deletion .github/workflows/publish.yaml
Expand Up @@ -13,7 +13,7 @@ permissions:
contents: "write"

jobs:
"publish":
"publish-ubuntu":
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
Expand Down Expand Up @@ -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

0 comments on commit 1a7f6a1

Please sign in to comment.