build_osx_M #8
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: build_osx_M | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: macos-14 | |
steps: | |
# Checks-out the repository under $GITHUB_WORKSPACE | |
- uses: actions/checkout@v4 | |
# Install MacPorts | |
- uses: melusina-org/setup-macports@v1 | |
- name: Install dependencies | |
run: | | |
sudo port install python311 | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
brew update | |
brew install gcc@11 | |
# Runs a set of commands using the runner's shell | |
- name: Build-commands | |
run: | | |
cd $GITHUB_WORKSPACE/src | |
curl -fsSL https://raw.githubusercontent.com/rcedgar/vcxproj_make/2eee480/vcxproj_make.py > vcxproj_make.py | |
chmod u+x ./vcxproj_make.py | |
./vcxproj_make.py --openmp --cppcompiler g++-11 --nonative | |
- name: Upload binary artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: muscle-osx-m | |
path: /Users/runner/work/muscle/muscle/bin/muscle |