diff --git a/.github/workflows/binaries-mac-os-12.yml b/.github/workflows/binaries-macos-12.yml similarity index 64% rename from .github/workflows/binaries-mac-os-12.yml rename to .github/workflows/binaries-macos-12.yml index b86abe6..59e7015 100644 --- a/.github/workflows/binaries-mac-os-12.yml +++ b/.github/workflows/binaries-macos-12.yml @@ -15,32 +15,32 @@ jobs: - name: Install dependencies on MacOS and compile and produce BFS exes and standalone ME application if: runner.os == 'macOS' run: | - uname -a - find / -name "fonts.dir" 2> /dev/null - cat /usr/local/Cellar/ghostscript/10.02.0/share/ghostscript/fonts/fonts.dir + echo `uname -a` + ls brew install xquartz brew install gcc brew install make - cd bfs && /usr/local/opt/make/libexec/gnubin/make - cd ../src && /usr/local/opt/make/libexec/gnubin/make -f macos32gcc.gmk + cd bfs && /usr/local/opt/make/libexec/gnubin/make CC=gcc-11 + cd ../src && /usr/local/opt/make/libexec/gnubin/make -f macos32gcc.gmk CC=gcc-11 cd .. - mkdir binaries-MacOS - cp src/.macos32gcc-release-mecw/mecw binaries-MacOS/ + mkdir binaries-MacOS-12 + cp src/.macos32gcc-release-mecw/mecw binaries-MacOS-12/ tar cfvz jasspa.tar.gz jasspa/* - cp jasspa.tar.gz binaries-MacOS/ + cp jasspa.tar.gz binaries-MacOS-12/ rm -rf jasspa/company rm -rf jasspa/pixmaps rm -rf jasspa/contrib ./bfs/bfs -a src/.macos32gcc-release-mecw/mecw -o me-macos.bin ./jasspa - cp me-macos.bin binaries-MacOS/ + cp me-macos.bin binaries-MacOS-12/ chmod 755 ./me-macos.bin ./me-macos.bin -n -V - cp README-standalone.md binaries-MacOS/ + cp README-standalone.md binaries-MacOS-12/ echo '-1 ml-write &cat "Platform:" $platform' > platform.emf echo "exit-emacs" >> platform.emf - ./me-macos.bin @platform.emf + TERM=xterm ./me-macos.bin @platform.emf - name: Upload Artifact GitHub Action uses: actions/upload-artifact@v3 with: - name: binaries-MacOS - path: binaries-MacOS + name: binaries-MacOS-12 + path: binaries-MacOS-12 +