fix windows and mac staging

This commit is contained in:
Christopher A. Mosher 2022-11-02 18:09:11 -04:00
parent 1a2a7feb16
commit df566d3692
2 changed files with 22 additions and 11 deletions

View File

@ -105,16 +105,16 @@ jobs:
set -x
pwd
cd build
mkdir -p stage/usr/local/bin
mkdir -p stage/usr/local/etc/epple2
mkdir -p stage/usr/local/lib/epple2/system
mkdir -p stage/usr/local/lib/epple2/cards
cp src/epple2 stage/usr/local/bin/
cp conf/*.conf stage/usr/local/etc/epple2/
cp ${{steps.epple2-roms.outputs.download-path}}/epple2sys.a65 stage/usr/local/lib/epple2/system/
cp ${{steps.epple2-roms.outputs.download-path}}/stdout.a65 stage/usr/local/lib/epple2/cards/
cp ${{steps.epple2-roms.outputs.download-path}}/stdin.a65 stage/usr/local/lib/epple2/cards/
cp ${{steps.epple2-roms.outputs.download-path}}/clock.a65 stage/usr/local/lib/epple2/cards/
mkdir -p stage/local/bin
mkdir -p stage/local/etc/epple2
mkdir -p stage/local/lib/epple2/system
mkdir -p stage/local/lib/epple2/cards
cp src/epple2 stage/local/bin/
cp conf/*.conf stage/local/etc/epple2/
cp ${{steps.epple2-roms.outputs.download-path}}/epple2sys.a65 stage/local/lib/epple2/system/
cp ${{steps.epple2-roms.outputs.download-path}}/stdout.a65 stage/local/lib/epple2/cards/
cp ${{steps.epple2-roms.outputs.download-path}}/stdin.a65 stage/local/lib/epple2/cards/
cp ${{steps.epple2-roms.outputs.download-path}}/clock.a65 stage/local/lib/epple2/cards/
cd -
tree
@ -156,7 +156,7 @@ jobs:
mkdir -p stage/epple2/etc/epple2
mkdir -p stage/epple2/lib/epple2/system
mkdir -p stage/epple2/lib/epple2/cards
cp src/epple2.exe stage/epple2/
cp src/Debug/epple2.exe stage/epple2/
cp conf/*.conf stage/epple2/etc/epple2/
cp ${{steps.epple2-roms.outputs.download-path}}/epple2sys.a65 stage/epple2/lib/epple2/system/
cp ${{steps.epple2-roms.outputs.download-path}}/stdout.a65 stage/epple2/lib/epple2/cards/

View File

@ -57,6 +57,17 @@ UBUNTU:
MAC:
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
pkgbuild --identifier nu.mine.mosher.$name --root ./pkg/ --install-location /usr $name.pkg