MacOS-13 #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: MacOS | |
on: | |
workflow_dispatch: | |
branches: [ master ] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: macos-latest | |
strategy: | |
matrix: | |
r-version: ['4.1.1'] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install X11 dependencies on MacOS | |
if: runner.os == 'macOS' | |
run: | | |
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 .. | |
ls | |
pwd | |
mkdir binaries-MacOS | |
cp src/.macos32gcc-release-mecw/mecw binaries-MacOS/ | |
- name: Upload Artifact GitHub Action | |
uses: actions/upload-artifact@v3 | |
with: | |
name: binaries-MacOS | |
path: binaries-MacOS |